home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1988-04-23 | 77.6 KB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
1%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Sat Apr 23 07:45:38 1988, modified Sat Apr 23 07:46:03 1988, creator HyperCard, type HyperCard stack, 78656 bytes "Genealogy" , at 0x133c0 608 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| dearkID
| deark: macbinary
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 47 65 6e 65 61 6c | 6f 67 79 00 00 00 00 00 |..Geneal|ogy.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 01 33 40 00 | 00 02 60 9e 96 34 62 9e |.....3@.|..`..4b.|
|00000060| 96 34 7b 00 00 06 00 00 | 00 00 00 00 00 00 00 00 |.4{.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 87 89 00 00 |........|........|
|00000080| 00 00 5e 00 53 54 41 4b | ff ff ff ff 21 d1 e3 a0 |..^.STAK|....!...|
|00000090| 00 00 00 08 00 01 33 40 | 00 00 5e 00 00 00 00 00 |......3@|..^.....|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 0a 73 00 00 00 0f |........|...s....|
|000000b0| 00 00 0b 69 00 00 16 25 | 00 00 00 00 00 00 00 00 |...i...%|........|
|000000c0| 00 00 0d ee 00 00 00 00 | 00 05 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | ab b6 ab 6c d7 49 b6 25 |"..t"...|...l.I.%|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 20 53 45 45 20 54 | 57 4f 20 4e 4f 54 45 53 |-- SEE T|WO NOTES|
|00000690| 20 42 45 4c 4f 57 20 49 | 4e 20 43 41 50 53 20 57 | BELOW I|N CAPS W|
|000006a0| 49 54 48 20 52 45 53 50 | 45 43 54 20 54 4f 20 46 |ITH RESP|ECT TO F|
|000006b0| 4f 4e 54 53 0d 0d 6f 6e | 20 6f 70 65 6e 43 61 72 |ONTS..on| openCar|
|000006c0| 64 0d 67 6c 6f 62 61 6c | 20 6e 75 6d 62 65 72 43 |d.global| numberC|
|000006d0| 61 72 64 73 0d 69 66 20 | 6e 75 6d 62 65 72 43 61 |ards.if |numberCa|
|000006e0| 72 64 73 20 69 73 20 74 | 72 75 65 20 74 68 65 6e |rds is t|rue then|
|000006f0| 0d 70 75 74 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |.put the| number |
|00000700| 6f 66 20 74 68 69 73 20 | 63 61 72 64 20 69 6e 74 |of this |card int|
|00000710| 6f 20 66 69 65 6c 64 20 | 22 63 61 72 64 4e 75 6d |o field |"cardNum|
|00000720| 22 0d 73 65 74 20 73 63 | 72 6f 6c 6c 20 6f 66 20 |".set sc|roll of |
|00000730| 66 69 65 6c 64 20 22 73 | 69 62 6c 69 6e 67 73 22 |field "s|iblings"|
|00000740| 20 74 6f 20 30 0d 73 65 | 74 20 73 63 72 6f 6c 6c | to 0.se|t scroll|
|00000750| 20 6f 66 20 66 69 65 6c | 64 20 22 69 73 73 75 65 | of fiel|d "issue|
|00000760| 31 22 20 74 6f 20 30 0d | 73 65 74 20 73 63 72 6f |1" to 0.|set scro|
|00000770| 6c 6c 20 6f 66 20 66 69 | 65 6c 64 20 22 69 73 73 |ll of fi|eld "iss|
|00000780| 75 65 32 22 20 74 6f 20 | 30 0d 73 65 74 20 73 63 |ue2" to |0.set sc|
|00000790| 72 6f 6c 6c 20 6f 66 20 | 66 69 65 6c 64 20 22 69 |roll of |field "i|
|000007a0| 73 73 75 65 33 22 20 74 | 6f 20 30 0d 73 65 74 20 |ssue3" t|o 0.set |
|000007b0| 73 63 72 6f 6c 6c 20 6f | 66 20 66 69 65 6c 64 20 |scroll o|f field |
|000007c0| 22 69 73 73 75 65 34 22 | 20 74 6f 20 30 0d 65 6e |"issue4"| to 0.en|
|000007d0| 64 20 69 66 0d 65 6e 64 | 20 6f 70 65 6e 43 61 72 |d if.end| openCar|
|000007e0| 64 0d 0d 6f 6e 20 6d 6f | 75 73 65 55 70 20 2d 2d |d..on mo|useUp --|
|000007f0| 20 61 70 70 6c 69 65 73 | 20 74 6f 20 61 6c 6c 20 | applies| to all |
|00000800| 66 69 65 6c 64 73 20 77 | 68 6f 73 65 20 6e 61 6d |fields w|hose nam|
|00000810| 65 20 63 6f 6e 74 61 69 | 6e 73 20 22 6e 61 6d 65 |e contai|ns "name|
|00000820| 22 0d 69 66 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |".if the| name of|
|00000830| 20 74 68 65 20 74 61 72 | 67 65 74 20 63 6f 6e 74 | the tar|get cont|
|00000840| 61 69 6e 73 20 22 6e 61 | 6d 65 22 20 74 68 65 6e |ains "na|me" then|
|00000850| 0d 69 66 20 74 68 65 20 | 74 61 72 67 65 74 20 63 |.if the |target c|
|00000860| 6f 6e 74 61 69 6e 73 20 | 22 66 69 65 6c 64 22 20 |ontains |"field" |
|00000870| 74 68 65 6e 0d 47 6f 54 | 6f 4e 61 6d 65 0d 65 6e |then.GoT|oName.en|
|00000880| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |d if.end| if.end |
|00000890| 6d 6f 75 73 65 55 70 0d | 0d 66 75 6e 63 74 69 6f |mouseUp.|.functio|
|000008a0| 6e 20 66 69 72 73 74 4e | 61 6d 65 20 74 68 65 4e |n firstN|ame theN|
|000008b0| 61 6d 65 0d 72 65 74 75 | 72 6e 20 77 6f 72 64 20 |ame.retu|rn word |
|000008c0| 31 20 6f 66 20 74 68 65 | 4e 61 6d 65 0d 65 6e 64 |1 of the|Name.end|
|000008d0| 20 66 69 72 73 74 4e 61 | 6d 65 0d 0d 66 75 6e 63 | firstNa|me..func|
|000008e0| 74 69 6f 6e 20 6c 61 73 | 74 4e 61 6d 65 20 74 68 |tion las|tName th|
|000008f0| 65 4e 61 6d 65 0d 72 65 | 74 75 72 6e 20 6c 61 73 |eName.re|turn las|
|00000900| 74 20 77 6f 72 64 20 6f | 66 20 74 68 65 4e 61 6d |t word o|f theNam|
|00000910| 65 0d 65 6e 64 20 6c 61 | 73 74 4e 61 6d 65 0d 0d |e.end la|stName..|
|00000920| 66 75 6e 63 74 69 6f 6e | 20 73 65 63 6f 6e 64 4e |function| secondN|
|00000930| 61 6d 65 20 74 68 65 4e | 61 6d 65 0d 70 75 74 20 |ame theN|ame.put |
|00000940| 77 6f 72 64 20 32 20 6f | 66 20 74 68 65 4e 61 6d |word 2 o|f theNam|
|00000950| 65 20 69 6e 74 6f 20 73 | 65 63 6f 6e 64 57 6f 72 |e into s|econdWor|
|00000960| 64 0d 69 66 20 73 65 63 | 6f 6e 64 57 6f 72 64 20 |d.if sec|ondWord |
|00000970| ad 20 6c 61 73 74 20 77 | 6f 72 64 20 6f 66 20 74 |. last w|ord of t|
|00000980| 68 65 4e 61 6d 65 20 74 | 68 65 6e 0d 72 65 74 75 |heName t|hen.retu|
|00000990| 72 6e 20 73 65 63 6f 6e | 64 57 6f 72 64 0d 65 6c |rn secon|dWord.el|
|000009a0| 73 65 0d 72 65 74 75 72 | 6e 20 65 6d 70 74 79 0d |se.retur|n empty.|
|000009b0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 73 65 63 6f 6e |end if.e|nd secon|
|000009c0| 64 4e 61 6d 65 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |dName..f|unction |
|000009d0| 74 68 69 72 64 4e 61 6d | 65 20 74 68 65 4e 61 6d |thirdNam|e theNam|
|000009e0| 65 0d 67 65 74 20 74 68 | 65 20 6e 75 6d 62 65 72 |e.get th|e number|
|000009f0| 20 6f 66 20 77 6f 72 64 | 73 20 6f 66 20 74 68 65 | of word|s of the|
|00000a00| 4e 61 6d 65 0d 69 66 20 | 69 74 20 b3 20 33 20 74 |Name.if |it . 3 t|
|00000a10| 68 65 6e 0d 70 75 74 20 | 77 6f 72 64 20 33 20 6f |hen.put |word 3 o|
|00000a20| 66 20 74 68 65 4e 61 6d | 65 20 69 6e 74 6f 20 74 |f theNam|e into t|
|00000a30| 68 69 72 64 57 6f 72 64 | 0d 69 66 20 74 68 69 72 |hirdWord|.if thir|
|00000a40| 64 57 6f 72 64 20 ad 20 | 6c 61 73 74 20 77 6f 72 |dWord . |last wor|
|00000a50| 64 20 6f 66 20 74 68 65 | 4e 61 6d 65 20 74 68 65 |d of the|Name the|
|00000a60| 6e 0d 72 65 74 75 72 6e | 20 74 68 69 72 64 57 6f |n.return| thirdWo|
|00000a70| 72 64 0d 65 6c 73 65 0d | 72 65 74 75 72 6e 20 65 |rd.else.|return e|
|00000a80| 6d 70 74 79 0d 65 6e 64 | 20 69 66 0d 65 6c 73 65 |mpty.end| if.else|
|00000a90| 0d 72 65 74 75 72 6e 20 | 65 6d 70 74 79 0d 65 6e |.return |empty.en|
|00000aa0| 64 20 69 66 0d 65 6e 64 | 20 74 68 69 72 64 4e 61 |d if.end| thirdNa|
|00000ab0| 6d 65 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 67 65 74 |me..func|tion get|
|00000ac0| 4e 61 6d 65 20 74 68 65 | 46 69 65 6c 64 0d 70 75 |Name the|Field.pu|
|00000ad0| 74 20 6c 69 6e 65 20 31 | 20 6f 66 20 62 6b 67 6e |t line 1| of bkgn|
|00000ae0| 64 20 66 69 65 6c 64 20 | 74 68 65 46 69 65 6c 64 |d field |theField|
|00000af0| 20 69 6e 74 6f 20 74 68 | 65 4e 61 6d 65 0d 72 65 | into th|eName.re|
|00000b00| 70 65 61 74 20 77 68 69 | 6c 65 20 74 68 65 4e 61 |peat whi|le theNa|
|00000b10| 6d 65 20 63 6f 6e 74 61 | 69 6e 73 20 22 5b 22 0d |me conta|ins "[".|
|00000b20| 64 65 6c 65 74 65 20 6c | 61 73 74 20 77 6f 72 64 |delete l|ast word|
|00000b30| 20 6f 66 20 74 68 65 4e | 61 6d 65 0d 65 6e 64 20 | of theN|ame.end |
|00000b40| 72 65 70 65 61 74 0d 72 | 65 74 75 72 6e 20 74 68 |repeat.r|eturn th|
|00000b50| 65 4e 61 6d 65 0d 65 6e | 64 20 67 65 74 4e 61 6d |eName.en|d getNam|
|00000b60| 65 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 70 61 72 73 |e..funct|ion pars|
|00000b70| 65 46 72 6f 6d 43 6f 6c | 6f 6e 20 74 68 65 4e 61 |eFromCol|on theNa|
|00000b80| 6d 65 0d 2d 2d 20 65 78 | 74 72 61 63 74 73 20 6e |me.-- ex|tracts n|
|00000b90| 61 6d 65 20 66 72 6f 6d | 20 61 20 6c 69 73 74 20 |ame from| a list |
|00000ba0| 6f 66 20 61 6e 63 65 73 | 74 6f 72 73 0d 70 75 74 |of ances|tors.put|
|00000bb0| 20 64 65 6c 65 74 65 43 | 52 28 74 68 65 4e 61 6d | deleteC|R(theNam|
|00000bc0| 65 29 20 69 6e 74 6f 20 | 74 68 65 4e 61 6d 65 0d |e) into |theName.|
|00000bd0| 69 66 20 74 68 65 4e 61 | 6d 65 20 63 6f 6e 74 61 |if theNa|me conta|
|00000be0| 69 6e 73 20 22 3a 22 20 | 74 68 65 6e 0d 70 75 74 |ins ":" |then.put|
|00000bf0| 20 6f 66 66 73 65 74 28 | 22 3a 22 2c 20 74 68 65 | offset(|":", the|
|00000c00| 4e 61 6d 65 29 20 69 6e | 74 6f 20 74 68 65 4f 66 |Name) in|to theOf|
|00000c10| 66 73 65 74 0d 61 64 64 | 20 32 20 74 6f 20 74 68 |fset.add| 2 to th|
|00000c20| 65 4f 66 66 73 65 74 20 | 2d 2d 20 6f 66 66 73 65 |eOffset |-- offse|
|00000c30| 74 20 74 6f 20 66 69 72 | 73 74 20 63 68 61 72 20 |t to fir|st char |
|00000c40| 6f 66 20 6e 61 6d 65 0d | 70 75 74 20 74 68 65 20 |of name.|put the |
|00000c50| 6c 65 6e 67 74 68 20 6f | 66 20 74 68 65 4e 61 6d |length o|f theNam|
|00000c60| 65 20 69 6e 74 6f 20 74 | 68 65 4c 65 6e 67 74 68 |e into t|heLength|
|00000c70| 0d 70 75 74 20 63 68 61 | 72 20 74 68 65 4f 66 66 |.put cha|r theOff|
|00000c80| 73 65 74 20 74 6f 20 74 | 68 65 4c 65 6e 67 74 68 |set to t|heLength|
|00000c90| 20 6f 66 20 74 68 65 4e | 61 6d 65 20 69 6e 74 6f | of theN|ame into|
|00000ca0| 20 74 68 65 4e 61 6d 65 | 0d 65 6e 64 20 69 66 0d | theName|.end if.|
|00000cb0| 72 65 74 75 72 6e 20 74 | 68 65 4e 61 6d 65 0d 65 |return t|heName.e|
|00000cc0| 6e 64 20 70 61 72 73 65 | 46 72 6f 6d 43 6f 6c 6f |nd parse|FromColo|
|00000cd0| 6e 0d 0d 6f 6e 20 47 6f | 54 6f 4e 61 6d 65 20 2d |n..on Go|ToName -|
|00000ce0| 2d 20 67 65 74 20 6e 61 | 6d 65 20 66 72 6f 6d 20 |- get na|me from |
|00000cf0| 73 74 61 74 69 63 20 66 | 69 65 6c 64 20 61 6e 64 |static f|ield and|
|00000d00| 20 67 6f 20 74 6f 20 63 | 61 72 64 20 6f 66 20 6e | go to c|ard of n|
|00000d10| 61 6d 65 20 74 68 65 72 | 65 69 6e 0d 69 66 20 74 |ame ther|ein.if t|
|00000d20| 68 65 20 63 6f 6d 6d 61 | 6e 64 4b 65 79 20 69 73 |he comma|ndKey is|
|00000d30| 20 75 70 20 74 68 65 6e | 0d 73 65 74 20 6c 6f 63 | up then|.set loc|
|00000d40| 6b 53 63 72 65 65 6e 20 | 74 6f 20 74 72 75 65 0d |kScreen |to true.|
|00000d50| 67 65 74 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |get the |name of |
|00000d60| 74 68 65 20 74 61 72 67 | 65 74 0d 69 66 20 69 74 |the targ|et.if it|
|00000d70| 20 63 6f 6e 74 61 69 6e | 73 20 22 6e 61 6d 65 22 | contain|s "name"|
|00000d80| 20 74 68 65 6e 20 2d 2d | 20 73 65 65 20 63 6c 69 | then --| see cli|
|00000d90| 63 6b 73 20 6f 6e 6c 79 | 20 6f 6e 20 63 65 72 74 |cks only| on cert|
|00000da0| 61 69 6e 20 66 69 65 6c | 64 73 0d 70 75 74 20 74 |ain fiel|ds.put t|
|00000db0| 68 65 20 49 44 20 6f 66 | 20 74 68 65 20 74 61 72 |he ID of| the tar|
|00000dc0| 67 65 74 20 69 6e 74 6f | 20 74 68 65 49 44 20 2d |get into| theID -|
|00000dd0| 2d 20 66 6f 72 20 67 65 | 74 74 69 6e 67 20 66 69 |- for ge|tting fi|
|00000de0| 65 6c 64 20 63 6f 6e 74 | 65 6e 74 73 0d 70 75 74 |eld cont|ents.put|
|00000df0| 20 62 6b 67 6e 64 20 66 | 69 65 6c 64 20 49 44 20 | bkgnd f|ield ID |
|00000e00| 74 68 65 49 44 20 69 6e | 74 6f 20 74 68 65 4e 61 |theID in|to theNa|
|00000e10| 6d 65 0d 69 66 20 74 68 | 65 4e 61 6d 65 20 69 73 |me.if th|eName is|
|00000e20| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 0d | not emp|ty then.|
|00000e30| 70 75 74 20 64 65 6c 65 | 74 65 43 52 28 74 68 65 |put dele|teCR(the|
|00000e40| 4e 61 6d 65 29 20 69 6e | 74 6f 20 66 69 65 6c 64 |Name) in|to field|
|00000e50| 20 49 44 20 74 68 65 49 | 44 20 2d 2d 20 63 6c 65 | ID theI|D -- cle|
|00000e60| 61 6e 20 75 70 0d 67 6f | 20 74 6f 20 63 61 72 64 |an up.go| to card|
|00000e70| 20 64 65 6c 65 74 65 43 | 52 28 74 68 65 4e 61 6d | deleteC|R(theNam|
|00000e80| 65 29 20 2d 2d 20 74 68 | 65 20 6e 61 6d 65 20 69 |e) -- th|e name i|
|00000e90| 6e 20 6f 6e 65 2d 6c 69 | 6e 65 20 66 69 65 6c 64 |n one-li|ne field|
|00000ea0| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 69 |.if the |result i|
|00000eb0| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00000ec0| 0d 62 65 65 70 20 31 0d | 70 75 74 20 22 4e 61 6d |.beep 1.|put "Nam|
|00000ed0| 65 20 6e 6f 74 20 66 6f | 75 6e 64 2e 22 0d 65 6e |e not fo|und.".en|
|00000ee0| 64 20 69 66 0d 65 6c 73 | 65 0d 62 65 65 70 20 31 |d if.els|e.beep 1|
|00000ef0| 0d 70 75 74 20 22 4e 6f | 20 6e 61 6d 65 20 73 65 |.put "No| name se|
|00000f00| 6c 65 63 74 65 64 2e 22 | 0d 65 6e 64 20 69 66 0d |lected."|.end if.|
|00000f10| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en|
|00000f20| 64 20 47 6f 54 6f 4e 61 | 6d 65 0d 0d 66 75 6e 63 |d GoToNa|me..func|
|00000f30| 74 69 6f 6e 20 43 6c 69 | 63 6b 4c 69 6e 65 0d 2d |tion Cli|ckLine.-|
|00000f40| 2d 20 69 66 20 63 6c 69 | 63 6b 20 69 6e 20 66 69 |- if cli|ck in fi|
|00000f50| 65 6c 64 2c 20 72 65 74 | 75 72 6e 20 6c 69 6e 65 |eld, ret|urn line|
|00000f60| 20 6f 66 20 66 69 65 6c | 64 2c 20 6f 74 68 65 72 | of fiel|d, other|
|00000f70| 77 69 73 65 20 72 65 74 | 75 72 6e 73 20 65 6d 70 |wise ret|urns emp|
|00000f80| 74 79 0d 2d 2d 20 63 6f | 6d 70 65 6e 73 74 61 74 |ty.-- co|mpenstat|
|00000f90| 65 73 20 66 6f 72 20 74 | 65 78 74 48 65 69 67 68 |es for t|extHeigh|
|00000fa0| 74 2c 20 77 69 64 65 4d | 61 72 67 69 6e 73 20 61 |t, wideM|argins a|
|00000fb0| 6e 64 20 73 63 72 6f 6c | 6c 69 6e 67 20 66 69 65 |nd scrol|ling fie|
|00000fc0| 6c 64 73 0d 69 66 20 74 | 68 65 20 74 61 72 67 65 |lds.if t|he targe|
|00000fd0| 74 20 63 6f 6e 74 61 69 | 6e 73 20 22 66 69 65 6c |t contai|ns "fiel|
|00000fe0| 64 22 20 74 68 65 6e 0d | 67 65 74 20 77 69 64 65 |d" then.|get wide|
|00000ff0| 4d 61 72 67 69 6e 73 20 | 6f 66 20 74 68 65 20 74 |Margins |of the t|
|00001000| 61 72 67 65 74 0d 69 66 | 20 69 74 20 69 73 20 66 |arget.if| it is f|
|00001010| 61 6c 73 65 20 74 68 65 | 6e 0d 70 75 74 20 30 20 |alse the|n.put 0 |
|00001020| 69 6e 74 6f 20 6d 61 72 | 67 69 6e 0d 65 6c 73 65 |into mar|gin.else|
|00001030| 0d 67 65 74 20 74 68 65 | 20 74 65 78 74 48 65 69 |.get the| textHei|
|00001040| 67 68 74 20 6f 66 20 74 | 68 65 20 74 61 72 67 65 |ght of t|he targe|
|00001050| 74 0d 70 75 74 20 69 74 | 20 64 69 76 20 32 20 69 |t.put it| div 2 i|
|00001060| 6e 74 6f 20 6d 61 72 67 | 69 6e 0d 65 6e 64 20 69 |nto marg|in.end i|
|00001070| 66 0d 67 65 74 20 74 68 | 65 20 73 74 79 6c 65 20 |f.get th|e style |
|00001080| 6f 66 20 74 68 65 20 74 | 61 72 67 65 74 0d 69 66 |of the t|arget.if|
|00001090| 20 69 74 20 69 73 20 22 | 73 63 72 6f 6c 6c 69 6e | it is "|scrollin|
|000010a0| 67 22 20 74 68 65 6e 0d | 72 65 74 75 72 6e 20 28 |g" then.|return (|
|000010b0| 74 72 75 6e 63 28 20 28 | 20 28 73 63 72 6f 6c 6c |trunc( (| (scroll|
|000010c0| 20 6f 66 20 74 68 65 20 | 74 61 72 67 65 74 29 20 | of the |target) |
|000010d0| c2 0d 2b 20 28 69 74 65 | 6d 20 74 77 6f 20 6f 66 |..+ (ite|m two of|
|000010e0| 20 74 68 65 20 63 6c 69 | 63 6b 4c 6f 63 29 20 c2 | the cli|ckLoc) .|
|000010f0| 0d 2d 20 28 69 74 65 6d | 20 74 77 6f 20 6f 66 20 |.- (item| two of |
|00001100| 74 68 65 20 72 65 63 74 | 20 6f 66 20 74 68 65 20 |the rect| of the |
|00001110| 74 61 72 67 65 74 20 2b | 20 6d 61 72 67 69 6e 29 |target +| margin)|
|00001120| 20 29 c2 0d 64 69 76 20 | 74 68 65 20 74 65 78 74 | )..div |the text|
|00001130| 48 65 69 67 68 74 20 6f | 66 20 74 68 65 20 74 61 |Height o|f the ta|
|00001140| 72 67 65 74 29 20 2b 20 | 31 29 0d 65 6c 73 65 0d |rget) + |1).else.|
|00001150| 72 65 74 75 72 6e 20 28 | 28 69 74 65 6d 20 74 77 |return (|(item tw|
|00001160| 6f 20 6f 66 20 74 68 65 | 20 63 6c 69 63 6b 4c 6f |o of the| clickLo|
|00001170| 63 29 c2 0d 2d 20 28 69 | 74 65 6d 20 74 77 6f 20 |c)..- (i|tem two |
|00001180| 6f 66 20 74 68 65 20 72 | 65 63 74 20 6f 66 20 74 |of the r|ect of t|
|00001190| 68 65 20 74 61 72 67 65 | 74 29 20 2d 20 6d 61 72 |he targe|t) - mar|
|000011a0| 67 69 6e 29 c2 0d 64 69 | 76 20 28 74 68 65 20 74 |gin)..di|v (the t|
|000011b0| 65 78 74 48 65 69 67 68 | 74 20 6f 66 20 74 68 65 |extHeigh|t of the|
|000011c0| 20 74 61 72 67 65 74 29 | 20 2b 20 31 0d 65 6e 64 | target)| + 1.end|
|000011d0| 20 69 66 0d 65 6c 73 65 | 0d 72 65 74 75 72 6e 20 | if.else|.return |
|000011e0| 65 6d 70 74 79 0d 65 6e | 64 20 69 66 0d 65 6e 64 |empty.en|d if.end|
|000011f0| 20 43 6c 69 63 6b 4c 69 | 6e 65 0d 0d 6f 6e 20 47 | ClickLi|ne..on G|
|00001200| 6f 54 6f 4c 69 6e 65 4e | 61 6d 65 20 2d 2d 20 67 |oToLineN|ame -- g|
|00001210| 65 74 20 6e 61 6d 65 20 | 66 72 6f 6d 20 73 63 72 |et name |from scr|
|00001220| 6f 6c 6c 69 6e 67 20 66 | 69 65 6c 64 20 61 6e 64 |olling f|ield and|
|00001230| 20 67 6f 20 74 6f 20 63 | 61 72 64 0d 69 66 20 74 | go to c|ard.if t|
|00001240| 68 65 20 63 6f 6d 6d 61 | 6e 64 4b 65 79 20 69 73 |he comma|ndKey is|
|00001250| 20 75 70 20 74 68 65 6e | 0d 70 75 74 20 63 6c 69 | up then|.put cli|
|00001260| 63 6b 4c 69 6e 65 28 29 | 20 69 6e 74 6f 20 74 68 |ckLine()| into th|
|00001270| 65 4c 69 6e 65 0d 70 75 | 74 20 74 68 65 20 49 44 |eLine.pu|t the ID|
|00001280| 20 6f 66 20 74 68 65 20 | 74 61 72 67 65 74 20 69 | of the |target i|
|00001290| 6e 74 6f 20 74 68 65 49 | 44 0d 70 75 74 20 6c 69 |nto theI|D.put li|
|000012a0| 6e 65 20 74 68 65 4c 69 | 6e 65 20 6f 66 20 66 69 |ne theLi|ne of fi|
|000012b0| 65 6c 64 20 49 44 20 74 | 68 65 49 44 20 69 6e 74 |eld ID t|heID int|
|000012c0| 6f 20 74 68 65 4e 61 6d | 65 0d 69 66 20 74 68 65 |o theNam|e.if the|
|000012d0| 4e 61 6d 65 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |Name is |not empt|
|000012e0| 79 20 74 68 65 6e 0d 70 | 75 74 20 70 61 72 73 65 |y then.p|ut parse|
|000012f0| 46 72 6f 6d 43 6f 6c 6f | 6e 28 74 68 65 4e 61 6d |FromColo|n(theNam|
|00001300| 65 29 20 69 6e 74 6f 20 | 74 68 65 4e 61 6d 65 0d |e) into |theName.|
|00001310| 0d 67 6f 20 20 63 61 72 | 64 20 74 68 65 4e 61 6d |.go car|d theNam|
|00001320| 65 0d 69 66 20 74 68 65 | 20 72 65 73 75 6c 74 20 |e.if the| result |
|00001330| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00001340| 6e 0d 62 65 65 70 20 31 | 0d 70 75 74 20 22 4e 61 |n.beep 1|.put "Na|
|00001350| 6d 65 20 6e 6f 74 20 66 | 6f 75 6e 64 2e 22 0d 65 |me not f|ound.".e|
|00001360| 6e 64 20 69 66 0d 65 6c | 73 65 0d 62 65 65 70 20 |nd if.el|se.beep |
|00001370| 31 0d 70 75 74 20 22 4e | 6f 20 6e 61 6d 65 20 73 |1.put "N|o name s|
|00001380| 65 6c 65 63 74 65 64 2e | 22 0d 65 6e 64 20 69 66 |elected.|".end if|
|00001390| 0d 65 6c 73 65 0d 2d 2d | 20 62 65 65 70 20 31 0d |.else.--| beep 1.|
|000013a0| 2d 2d 20 70 75 74 20 22 | 53 65 6c 65 63 74 20 6e |-- put "|Select n|
|000013b0| 61 6d 65 20 77 69 74 68 | 6f 75 74 20 6d 6f 64 69 |ame with|out modi|
|000013c0| 66 69 65 72 20 6b 65 79 | 2e 22 0d 65 6e 64 20 69 |fier key|.".end i|
|000013d0| 66 0d 65 6e 64 20 47 6f | 54 6f 4c 69 6e 65 4e 61 |f.end Go|ToLineNa|
|000013e0| 6d 65 0d 0d 2d 2d 20 6f | 6e 20 67 65 6e 20 70 65 |me..-- o|n gen pe|
|000013f0| 72 73 6f 6e 2c 20 6e 75 | 6d 20 2d 2d 20 70 75 74 |rson, nu|m -- put|
|00001400| 20 73 69 62 6c 69 6e 67 | 73 20 69 6e 20 73 61 6d | sibling|s in sam|
|00001410| 65 20 67 65 6e 65 72 61 | 74 69 6f 6e 0d 2d 2d 20 |e genera|tion.-- |
|00001420| 20 20 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 | repeat| with i |
|00001430| 3d 20 31 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |= 1 to t|he numbe|
|00001440| 72 20 6f 66 20 63 61 72 | 64 73 0d 2d 2d 20 20 20 |r of car|ds.-- |
|00001450| 20 20 69 66 20 66 69 65 | 6c 64 20 36 20 63 6f 6e | if fie|ld 6 con|
|00001460| 74 61 69 6e 73 20 70 65 | 72 73 6f 6e 20 74 68 65 |tains pe|rson the|
|00001470| 6e 0d 2d 2d 20 20 20 20 | 20 20 20 70 75 74 20 6e |n.-- | put n|
|00001480| 75 6d 20 69 6e 74 6f 20 | 66 69 65 6c 64 20 32 32 |um into |field 22|
|00001490| 0d 2d 2d 20 20 20 20 20 | 65 6e 64 20 69 66 0d 2d |.-- |end if.-|
|000014a0| 2d 20 20 20 65 6e 64 20 | 72 65 70 65 61 74 0d 2d |- end |repeat.-|
|000014b0| 2d 20 65 6e 64 20 67 65 | 6e 0d 0d 66 75 6e 63 74 |- end ge|n..funct|
|000014c0| 69 6f 6e 20 64 75 70 65 | 52 65 70 6f 72 74 20 2d |ion dupe|Report -|
|000014d0| 2d 20 67 65 6e 65 72 61 | 74 65 73 20 72 65 70 6f |- genera|tes repo|
|000014e0| 72 74 20 66 6f 72 20 64 | 75 70 6c 69 63 61 74 65 |rt for d|uplicate|
|000014f0| 20 6e 61 6d 65 73 0d 73 | 65 74 20 6e 75 6d 62 65 | names.s|et numbe|
|00001500| 72 46 6f 72 6d 61 74 20 | 74 6f 20 22 30 30 2e 22 |rFormat |to "00."|
|00001510| 0d 70 75 74 20 6c 69 6e | 65 20 31 20 6f 66 20 66 |.put lin|e 1 of f|
|00001520| 69 65 6c 64 20 22 73 65 | 6c 66 20 6e 61 6d 65 22 |ield "se|lf name"|
|00001530| 20 69 6e 74 6f 20 73 65 | 6c 66 0d 67 65 74 20 66 | into se|lf.get f|
|00001540| 69 65 6c 64 20 22 47 65 | 6e 65 72 61 74 69 6f 6e |ield "Ge|neration|
|00001550| 22 0d 69 66 20 69 74 20 | 69 73 20 6e 6f 74 20 65 |".if it |is not e|
|00001560| 6d 70 74 79 20 74 68 65 | 6e 0d 67 65 74 20 74 68 |mpty the|n.get th|
|00001570| 65 20 76 61 6c 75 65 20 | 6f 66 20 66 69 65 6c 64 |e value |of field|
|00001580| 20 22 47 65 6e 65 72 61 | 74 69 6f 6e 22 0d 70 75 | "Genera|tion".pu|
|00001590| 74 20 69 74 20 69 6e 74 | 6f 20 67 65 6e 0d 65 6c |t it int|o gen.el|
|000015a0| 73 65 0d 70 75 74 20 22 | 3f 3f 22 20 69 6e 74 6f |se.put "|??" into|
|000015b0| 20 67 65 6e 0d 65 6e 64 | 20 69 66 0d 0d 67 65 74 | gen.end| if..get|
|000015c0| 20 66 69 65 6c 64 20 22 | 66 61 74 68 65 72 20 6e | field "|father n|
|000015d0| 61 6d 65 22 0d 69 66 20 | 69 74 20 69 73 20 65 6d |ame".if |it is em|
|000015e0| 70 74 79 20 74 68 65 6e | 0d 70 75 74 20 22 3f 3f |pty then|.put "??|
|000015f0| 22 20 69 6e 74 6f 20 66 | 61 74 68 65 72 0d 65 6c |" into f|ather.el|
|00001600| 73 65 0d 70 75 74 20 64 | 65 6c 65 74 65 43 52 28 |se.put d|eleteCR(|
|00001610| 69 74 29 20 69 6e 74 6f | 20 66 61 74 68 65 72 0d |it) into| father.|
|00001620| 65 6e 64 20 69 66 0d 0d | 67 65 74 20 66 69 65 6c |end if..|get fiel|
|00001630| 64 20 22 6d 6f 74 68 65 | 72 20 6e 61 6d 65 22 0d |d "mothe|r name".|
|00001640| 69 66 20 69 74 20 69 73 | 20 65 6d 70 74 79 20 74 |if it is| empty t|
|00001650| 68 65 6e 0d 70 75 74 20 | 22 3f 3f 22 20 69 6e 74 |hen.put |"??" int|
|00001660| 6f 20 6d 6f 74 68 65 72 | 0d 65 6c 73 65 0d 70 75 |o mother|.else.pu|
|00001670| 74 20 20 64 65 6c 65 74 | 65 43 52 28 69 74 29 20 |t delet|eCR(it) |
|00001680| 69 6e 74 6f 20 6d 6f 74 | 68 65 72 0d 65 6e 64 20 |into mot|her.end |
|00001690| 69 66 0d 0d 67 65 74 20 | 6c 69 6e 65 20 31 20 6f |if..get |line 1 o|
|000016a0| 66 20 66 69 65 6c 64 20 | 22 69 73 73 75 65 31 22 |f field |"issue1"|
|000016b0| 0d 69 66 20 69 74 20 69 | 73 20 65 6d 70 74 79 20 |.if it i|s empty |
|000016c0| 74 68 65 6e 0d 70 75 74 | 20 22 5f 5f 22 20 69 6e |then.put| "__" in|
|000016d0| 74 6f 20 63 68 69 6c 64 | 0d 65 6c 73 65 0d 70 75 |to child|.else.pu|
|000016e0| 74 20 64 65 6c 65 74 65 | 43 52 28 77 6f 72 64 20 |t delete|CR(word |
|000016f0| 31 20 6f 66 20 69 74 29 | 20 69 6e 74 6f 20 63 68 |1 of it)| into ch|
|00001700| 69 6c 64 0d 65 6e 64 20 | 69 66 0d 0d 67 65 74 20 |ild.end |if..get |
|00001710| 66 69 65 6c 64 20 22 53 | 70 6f 75 73 65 31 20 6e |field "S|pouse1 n|
|00001720| 61 6d 65 22 0d 69 66 20 | 69 74 20 69 73 20 65 6d |ame".if |it is em|
|00001730| 70 74 79 20 74 68 65 6e | 0d 69 66 20 63 68 69 6c |pty then|.if chil|
|00001740| 64 20 63 6f 6e 74 61 69 | 6e 73 20 22 5f 5f 22 20 |d contai|ns "__" |
|00001750| 74 68 65 6e 0d 70 75 74 | 20 22 5f 5f 22 20 69 6e |then.put| "__" in|
|00001760| 74 6f 20 73 70 6f 75 73 | 65 0d 65 6c 73 65 0d 70 |to spous|e.else.p|
|00001770| 75 74 20 22 3f 3f 22 20 | 69 6e 74 6f 20 73 70 6f |ut "??" |into spo|
|00001780| 75 73 65 0d 65 6e 64 20 | 69 66 0d 65 6c 73 65 0d |use.end |if.else.|
|00001790| 70 75 74 20 64 65 6c 65 | 74 65 43 52 28 69 74 29 |put dele|teCR(it)|
|000017a0| 20 69 6e 74 6f 20 73 70 | 6f 75 73 65 0d 65 6e 64 | into sp|ouse.end|
|000017b0| 20 69 66 0d 0d 70 75 74 | 20 73 65 6c 66 20 26 26 | if..put| self &&|
|000017c0| 20 22 23 22 20 26 20 67 | 65 6e 20 26 26 20 22 a5 | "#" & g|en && ".|
|000017d0| 22 20 26 26 20 66 61 74 | 68 65 72 20 26 20 22 c8 |" && fat|her & ".|
|000017e0| c7 22 20 26 20 6d 6f 74 | 68 65 72 20 26 26 c2 0d |." & mot|her &&..|
|000017f0| 22 a4 22 20 26 26 20 73 | 70 6f 75 73 65 20 26 26 |"." && s|pouse &&|
|00001800| 20 22 bd 22 20 26 26 20 | 63 68 69 6c 64 20 69 6e | "." && |child in|
|00001810| 74 6f 20 74 65 6d 70 0d | 0d 2d 2d 20 43 48 41 4e |to temp.|.-- CHAN|
|00001820| 47 45 20 22 39 35 22 20 | 54 4f 20 54 48 45 20 4d |GE "95" |TO THE M|
|00001830| 41 58 49 4d 55 4d 20 4e | 55 4d 42 45 52 20 4f 46 |AXIMUM N|UMBER OF|
|00001840| 20 43 48 41 52 41 43 54 | 45 52 53 20 54 48 41 54 | CHARACT|ERS THAT|
|00001850| 20 57 49 4c 4c 20 53 54 | 49 4c 4c 0d 2d 2d 20 44 | WILL ST|ILL.-- D|
|00001860| 49 53 50 4c 41 59 20 54 | 48 49 53 20 44 41 54 41 |ISPLAY T|HIS DATA|
|00001870| 20 4f 4e 20 4f 4e 45 20 | 4c 49 4e 45 2c 20 41 43 | ON ONE |LINE, AC|
|00001880| 43 4f 52 44 49 4e 47 20 | 54 4f 20 41 56 41 49 4c |CORDING |TO AVAIL|
|00001890| 41 42 4c 45 20 46 4f 4e | 54 0d 2d 2d 20 61 20 37 |ABLE FON|T.-- a 7|
|000018a0| 2d 70 74 20 66 6f 6e 74 | 20 73 75 63 68 20 61 73 |-pt font| such as|
|000018b0| 20 4d 69 73 68 61 77 61 | 6b 61 20 6f 72 20 54 69 | Mishawa|ka or Ti|
|000018c0| 6e 79 20 73 68 6f 75 6c | 64 20 62 65 20 4f 4b 0d |ny shoul|d be OK.|
|000018d0| 0d 69 66 20 74 68 65 20 | 6c 65 6e 67 74 68 20 6f |.if the |length o|
|000018e0| 66 20 74 65 6d 70 20 3e | 20 39 35 20 74 68 65 6e |f temp >| 95 then|
|000018f0| 20 2d 2d 20 74 72 75 6e | 63 61 74 65 20 6c 69 6e | -- trun|cate lin|
|00001900| 65 20 74 6f 20 66 69 74 | 0d 72 65 74 75 72 6e 20 |e to fit|.return |
|00001910| 63 68 61 72 20 31 20 74 | 6f 20 39 35 20 6f 66 20 |char 1 t|o 95 of |
|00001920| 74 65 6d 70 20 26 20 72 | 65 74 75 72 6e 0d 0d 65 |temp & r|eturn..e|
|00001930| 6c 73 65 0d 72 65 74 75 | 72 6e 20 74 65 6d 70 20 |lse.retu|rn temp |
|00001940| 26 20 72 65 74 75 72 6e | 0d 65 6e 64 20 69 66 0d |& return|.end if.|
|00001950| 65 6e 64 20 64 75 70 65 | 52 65 70 6f 72 74 0d 0d |end dupe|Report..|
|00001960| 6f 6e 20 44 4e 20 74 68 | 65 4e 61 6d 65 2c 20 65 |on DN th|eName, e|
|00001970| 78 61 63 74 0d 2d 2d 20 | 73 74 61 6e 64 73 20 66 |xact.-- |stands f|
|00001980| 6f 72 20 22 44 75 70 6c | 69 63 61 74 65 20 4e 61 |or "Dupl|icate Na|
|00001990| 6d 65 22 0d 2d 2d 20 74 | 68 65 4e 61 6d 65 20 69 |me".-- t|heName i|
|000019a0| 73 20 74 68 65 20 6e 61 | 6d 65 20 74 6f 20 73 65 |s the na|me to se|
|000019b0| 61 72 63 68 20 66 6f 72 | 0d 2d 2d 20 65 78 61 63 |arch for|.-- exac|
|000019c0| 74 20 69 73 20 61 20 62 | 6f 6f 6c 65 61 6e 20 74 |t is a b|oolean t|
|000019d0| 6f 20 69 6e 64 69 63 61 | 74 65 20 77 68 65 74 68 |o indica|te wheth|
|000019e0| 65 72 20 74 6f 20 73 65 | 61 72 63 68 20 66 6f 72 |er to se|arch for|
|000019f0| 20 65 78 61 63 74 20 6e | 61 6d 65 0d 2d 2d 20 69 | exact n|ame.-- i|
|00001a00| 66 20 65 78 61 63 74 3d | 74 72 75 65 20 6c 69 73 |f exact=|true lis|
|00001a10| 74 20 65 78 61 63 74 20 | 6d 61 74 63 68 65 73 20 |t exact |matches |
|00001a20| 6f 66 20 6e 61 6d 65 20 | 28 69 67 6e 6f 72 69 6e |of name |(ignorin|
|00001a30| 67 20 73 75 66 66 69 78 | 65 73 29 0d 2d 2d 20 69 |g suffix|es).-- i|
|00001a40| 66 20 65 78 61 63 74 3d | 66 61 6c 73 65 20 6c 69 |f exact=|false li|
|00001a50| 73 74 20 61 6c 6c 20 61 | 70 70 65 61 72 65 6e 63 |st all a|ppearenc|
|00001a60| 65 73 20 6f 66 20 6e 61 | 6d 65 20 69 6e 20 73 74 |es of na|me in st|
|00001a70| 61 63 6b 0d 73 65 74 20 | 6c 6f 63 6b 53 63 72 65 |ack.set |lockScre|
|00001a80| 65 6e 20 74 6f 20 74 72 | 75 65 0d 70 75 74 20 65 |en to tr|ue.put e|
|00001a90| 6d 70 74 79 20 69 6e 74 | 6f 20 64 75 70 65 4e 61 |mpty int|o dupeNa|
|00001aa0| 6d 65 73 0d 69 66 20 65 | 78 61 63 74 20 74 68 65 |mes.if e|xact the|
|00001ab0| 6e 0d 70 75 74 20 74 68 | 65 4e 61 6d 65 20 26 26 |n.put th|eName &&|
|00001ac0| 20 22 d1 66 69 6e 64 69 | 6e 67 20 65 78 61 63 74 | ".findi|ng exact|
|00001ad0| 20 6d 61 74 63 68 2e 22 | 0d 65 6c 73 65 0d 70 75 | match."|.else.pu|
|00001ae0| 74 20 74 68 65 4e 61 6d | 65 20 26 26 20 22 d1 66 |t theNam|e && ".f|
|00001af0| 69 6e 64 69 6e 67 20 61 | 6e 79 20 6d 61 74 63 68 |inding a|ny match|
|00001b00| 2e 22 0d 65 6e 64 20 69 | 66 0d 70 75 74 20 66 61 |.".end i|f.put fa|
|00001b10| 6c 73 65 20 69 6e 74 6f | 20 64 75 70 6c 69 63 61 |lse into| duplica|
|00001b20| 74 65 20 2d 2d 20 61 73 | 73 75 6d 65 20 75 6e 69 |te -- as|sume uni|
|00001b30| 71 75 65 0d 70 75 74 20 | 30 20 69 6e 74 6f 20 74 |que.put |0 into t|
|00001b40| 6f 74 61 6c 0d 70 75 74 | 20 74 68 65 20 6e 75 6d |otal.put| the num|
|00001b50| 62 65 72 20 6f 66 20 74 | 68 69 73 20 63 61 72 64 |ber of t|his card|
|00001b60| 20 69 6e 74 6f 20 63 61 | 72 64 4e 75 6d 31 0d 66 | into ca|rdNum1.f|
|00001b70| 69 6e 64 20 77 6f 72 64 | 20 74 68 65 4e 61 6d 65 |ind word| theName|
|00001b80| 20 69 6e 20 66 69 65 6c | 64 20 22 73 65 6c 66 20 | in fiel|d "self |
|00001b90| 6e 61 6d 65 22 0d 69 66 | 20 74 68 65 20 72 65 73 |name".if| the res|
|00001ba0| 75 6c 74 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |ult is e|mpty the|
|00001bb0| 6e 20 2d 2d 20 74 68 61 | 74 20 69 73 2c 20 61 20 |n -- tha|t is, a |
|00001bc0| 6e 61 6d 65 20 69 73 20 | 66 6f 75 6e 64 0d 70 75 |name is |found.pu|
|00001bd0| 74 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |t the nu|mber of |
|00001be0| 74 68 69 73 20 63 61 72 | 64 20 69 6e 74 6f 20 63 |this car|d into c|
|00001bf0| 61 72 64 4e 75 6d 20 2d | 2d 20 73 61 76 65 20 74 |ardNum -|- save t|
|00001c00| 68 69 73 20 63 61 72 64 | 20 6e 75 6d 62 65 72 0d |his card| number.|
|00001c10| 61 64 64 20 31 20 74 6f | 20 74 6f 74 61 6c 0d 70 |add 1 to| total.p|
|00001c20| 75 74 20 64 75 70 65 52 | 65 70 6f 72 74 28 29 20 |ut dupeR|eport() |
|00001c30| 61 66 74 65 72 20 64 75 | 70 65 4e 61 6d 65 73 0d |after du|peNames.|
|00001c40| 70 75 74 20 74 72 75 65 | 20 69 6e 74 6f 20 64 75 |put true| into du|
|00001c50| 70 6c 69 63 61 74 65 20 | 2d 2d 20 69 6e 64 69 63 |plicate |-- indic|
|00001c60| 61 74 65 20 64 75 70 6c | 69 63 61 74 65 0d 67 6f |ate dupl|icate.go|
|00001c70| 20 6e 65 78 74 20 63 61 | 72 64 20 2d 2d 20 73 74 | next ca|rd -- st|
|00001c80| 65 70 20 73 6f 20 61 73 | 20 6e 6f 74 20 74 6f 20 |ep so as| not to |
|00001c90| 66 69 6e 64 20 6e 61 6d | 65 20 69 74 73 65 6c 66 |find nam|e itself|
|00001ca0| 20 61 67 61 69 6e 0d 72 | 65 70 65 61 74 0d 66 69 | again.r|epeat.fi|
|00001cb0| 6e 64 20 77 6f 72 64 20 | 74 68 65 4e 61 6d 65 20 |nd word |theName |
|00001cc0| 69 6e 20 66 69 65 6c 64 | 20 22 73 65 6c 66 20 6e |in field| "self n|
|00001cd0| 61 6d 65 22 0d 2d 2d 20 | 69 66 20 66 69 6e 64 20 |ame".-- |if find |
|00001ce0| 6c 61 6e 64 73 20 6f 6e | 20 6f 72 69 67 69 6e 61 |lands on| origina|
|00001cf0| 6c 20 63 61 72 64 20 28 | 66 72 6f 6d 20 6e 65 78 |l card (|from nex|
|00001d00| 74 29 20 74 68 65 6e 20 | 6e 61 6d 65 20 69 73 20 |t) then |name is |
|00001d10| 75 6e 69 71 75 65 0d 69 | 66 20 74 68 65 20 6e 75 |unique.i|f the nu|
|00001d20| 6d 62 65 72 20 6f 66 20 | 74 68 69 73 20 63 61 72 |mber of |this car|
|00001d30| 64 20 3d 20 63 61 72 64 | 4e 75 6d 20 74 68 65 6e |d = card|Num then|
|00001d40| 0d 65 78 69 74 20 72 65 | 70 65 61 74 0d 65 6e 64 |.exit re|peat.end|
|00001d50| 20 69 66 0d 70 75 74 20 | 74 68 65 20 6e 75 6d 62 | if.put |the numb|
|00001d60| 65 72 20 6f 66 20 74 68 | 69 73 20 63 61 72 64 20 |er of th|is card |
|00001d70| 69 6e 74 6f 20 66 6f 75 | 6e 64 43 61 72 64 20 2d |into fou|ndCard -|
|00001d80| 2d 20 73 61 76 65 20 63 | 61 72 64 20 66 6f 75 6e |- save c|ard foun|
|00001d90| 64 0d 69 66 20 74 68 65 | 20 72 65 73 75 6c 74 20 |d.if the| result |
|00001da0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 2d 2d |is empty| then --|
|00001db0| 20 73 6f 6d 65 74 68 69 | 6e 67 20 66 6f 75 6e 64 | somethi|ng found|
|00001dc0| 0d 69 66 20 65 78 61 63 | 74 20 74 68 65 6e 20 2d |.if exac|t then -|
|00001dd0| 2d 20 65 78 61 63 74 20 | 6d 61 74 63 68 20 64 65 |- exact |match de|
|00001de0| 73 69 72 65 64 0d 69 66 | 20 74 68 65 4e 61 6d 65 |sired.if| theName|
|00001df0| 20 3d 20 67 65 74 4e 61 | 6d 65 28 22 73 65 6c 66 | = getNa|me("self|
|00001e00| 20 6e 61 6d 65 22 29 20 | 74 68 65 6e 20 2d 2d 20 | name") |then -- |
|00001e10| 65 78 61 63 74 20 6d 61 | 74 63 68 3f 0d 61 64 64 |exact ma|tch?.add|
|00001e20| 20 31 20 74 6f 20 74 6f | 74 61 6c 0d 70 75 74 20 | 1 to to|tal.put |
|00001e30| 64 75 70 65 52 65 70 6f | 72 74 28 29 20 61 66 74 |dupeRepo|rt() aft|
|00001e40| 65 72 20 64 75 70 65 4e | 61 6d 65 73 0d 70 75 74 |er dupeN|ames.put|
|00001e50| 20 74 72 75 65 20 69 6e | 74 6f 20 64 75 70 6c 69 | true in|to dupli|
|00001e60| 63 61 74 65 20 2d 2d 20 | 69 6e 64 69 63 61 74 65 |cate -- |indicate|
|00001e70| 20 64 75 70 6c 69 63 61 | 74 65 0d 67 6f 20 6e 65 | duplica|te.go ne|
|00001e80| 78 74 20 63 61 72 64 0d | 65 6c 73 65 20 2d 2d 20 |xt card.|else -- |
|00001e90| 69 6e 63 6f 6d 70 6c 65 | 74 65 20 6d 61 74 63 68 |incomple|te match|
|00001ea0| 0d 67 6f 20 6e 65 78 74 | 20 63 61 72 64 20 2d 2d |.go next| card --|
|00001eb0| 20 73 74 65 70 20 62 65 | 79 6f 6e 64 20 62 61 64 | step be|yond bad|
|00001ec0| 20 6d 61 74 63 68 0d 65 | 6e 64 20 69 66 0d 65 6c | match.e|nd if.el|
|00001ed0| 73 65 20 2d 2d 20 6e 6f | 6e 2d 65 78 61 63 74 20 |se -- no|n-exact |
|00001ee0| 6d 61 74 63 68 20 64 65 | 73 69 72 65 64 0d 61 64 |match de|sired.ad|
|00001ef0| 64 20 31 20 74 6f 20 74 | 6f 74 61 6c 0d 70 75 74 |d 1 to t|otal.put|
|00001f00| 20 64 75 70 65 52 65 70 | 6f 72 74 28 29 20 61 66 | dupeRep|ort() af|
|00001f10| 74 65 72 20 64 75 70 65 | 4e 61 6d 65 73 0d 70 75 |ter dupe|Names.pu|
|00001f20| 74 20 74 72 75 65 20 69 | 6e 74 6f 20 64 75 70 6c |t true i|nto dupl|
|00001f30| 69 63 61 74 65 20 2d 2d | 20 69 6e 64 69 63 61 74 |icate --| indicat|
|00001f40| 65 20 64 75 70 6c 69 63 | 61 74 65 0d 67 6f 20 6e |e duplic|ate.go n|
|00001f50| 65 78 74 20 63 61 72 64 | 0d 65 6e 64 20 69 66 0d |ext card|.end if.|
|00001f60| 65 6c 73 65 20 2d 2d 20 | 6e 6f 20 6d 61 74 63 68 |else -- |no match|
|00001f70| 20 66 6f 75 6e 64 0d 70 | 75 74 20 74 68 65 4e 61 | found.p|ut theNa|
|00001f80| 6d 65 20 26 26 20 22 d1 | 69 73 20 6e 6f 74 20 68 |me && ".|is not h|
|00001f90| 65 72 65 21 22 0d 62 65 | 65 70 20 31 0d 65 6e 64 |ere!".be|ep 1.end|
|00001fa0| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 63 | if.end |repeat.c|
|00001fb0| 6c 69 63 6b 20 61 74 20 | 31 2c 31 20 2d 2d 20 67 |lick at |1,1 -- g|
|00001fc0| 65 74 20 72 69 64 20 6f | 66 20 66 69 6e 64 20 73 |et rid o|f find s|
|00001fd0| 65 6c 65 63 74 69 6f 6e | 0d 67 6f 20 63 61 72 64 |election|.go card|
|00001fe0| 20 63 61 72 64 4e 75 6d | 31 20 2d 2d 20 72 65 74 | cardNum|1 -- ret|
|00001ff0| 75 72 6e 20 74 6f 20 6f | 72 69 67 69 6e 61 6c 20 |urn to o|riginal |
|00002000| 63 61 72 64 2c 20 6f 72 | 20 66 69 72 73 74 20 69 |card, or| first i|
|00002010| 6e 65 78 61 63 74 20 6d | 61 74 63 68 0d 73 65 74 |nexact m|atch.set|
|00002020| 20 6c 6f 63 6b 53 63 72 | 65 65 6e 20 74 6f 20 66 | lockScr|een to f|
|00002030| 61 6c 73 65 0d 69 66 20 | 64 75 70 6c 69 63 61 74 |alse.if |duplicat|
|00002040| 65 20 74 68 65 6e 20 2d | 2d 20 72 65 70 6f 72 74 |e then -|- report|
|00002050| 20 72 65 73 75 6c 74 0d | 70 75 74 20 64 75 70 65 | result.|put dupe|
|00002060| 4e 61 6d 65 73 20 69 6e | 74 6f 20 66 69 65 6c 64 |Names in|to field|
|00002070| 20 22 6c 69 73 74 69 6e | 67 22 0d 73 65 74 20 6c | "listin|g".set l|
|00002080| 6f 63 6b 54 65 78 74 20 | 6f 66 20 66 69 65 6c 64 |ockText |of field|
|00002090| 20 22 6c 69 73 74 69 6e | 67 22 20 74 6f 20 74 72 | "listin|g" to tr|
|000020a0| 75 65 0d 73 65 74 20 73 | 63 72 6f 6c 6c 20 6f 66 |ue.set s|croll of|
|000020b0| 20 66 69 65 6c 64 20 22 | 6c 69 73 74 69 6e 67 22 | field "|listing"|
|000020c0| 20 74 6f 20 30 0d 0d 2d | 2d 20 43 48 41 4e 47 45 | to 0..-|- CHANGE|
|000020d0| 20 46 4f 4e 54 20 44 41 | 54 41 20 54 4f 20 54 41 | FONT DA|TA TO TA|
|000020e0| 53 54 45 3b 0d 2d 2d 20 | 53 4d 41 4c 4c 45 52 20 |STE;.-- |SMALLER |
|000020f0| 49 53 20 42 45 54 54 45 | 52 20 49 4e 20 54 48 41 |IS BETTE|R IN THA|
|00002100| 54 20 4d 4f 52 45 20 44 | 41 54 41 20 57 49 4c 4c |T MORE D|ATA WILL|
|00002110| 20 46 49 54 20 4f 4e 20 | 4f 4e 45 20 4c 49 4e 45 | FIT ON |ONE LINE|
|00002120| 0d 2d 2d 20 28 62 75 74 | 20 6f 66 20 63 6f 75 72 |.-- (but| of cour|
|00002130| 73 65 20 69 74 20 77 69 | 6c 6c 20 62 65 20 68 61 |se it wi|ll be ha|
|00002140| 72 64 65 72 20 74 6f 20 | 72 65 61 64 29 0d 0d 2d |rder to |read)..-|
|00002150| 2d 20 73 65 74 20 74 65 | 78 74 46 6f 6e 74 20 6f |- set te|xtFont o|
|00002160| 66 20 66 69 65 6c 64 20 | 22 6c 69 73 74 69 6e 67 |f field |"listing|
|00002170| 22 20 74 6f 20 6d 69 73 | 68 61 77 61 6b 61 0d 2d |" to mis|hawaka.-|
|00002180| 2d 20 73 65 74 20 74 65 | 78 74 53 69 7a 65 20 6f |- set te|xtSize o|
|00002190| 66 20 66 69 65 6c 64 20 | 22 6c 69 73 74 69 6e 67 |f field |"listing|
|000021a0| 22 20 74 6f 20 37 0d 0d | 73 68 6f 77 20 66 69 65 |" to 7..|show fie|
|000021b0| 6c 64 20 22 6c 69 73 74 | 69 6e 67 22 0d 70 75 74 |ld "list|ing".put|
|000021c0| 20 74 68 65 4e 61 6d 65 | 20 26 26 20 22 d1 61 70 | theName| && ".ap|
|000021d0| 70 65 61 72 73 22 20 26 | 26 20 74 6f 74 61 6c 20 |pears" &|& total |
|000021e0| 26 26 20 22 74 69 6d 65 | 73 2e 22 0d 65 6c 73 65 |&& "time|s.".else|
|000021f0| 0d 70 75 74 20 74 68 65 | 4e 61 6d 65 20 26 26 20 |.put the|Name && |
|00002200| 22 d1 61 70 70 65 61 72 | 73 20 6f 6e 6c 79 20 6f |".appear|s only o|
|00002210| 6e 63 65 2e 22 0d 65 6e | 64 20 69 66 0d 65 6c 73 |nce.".en|d if.els|
|00002220| 65 0d 70 75 74 20 74 68 | 65 4e 61 6d 65 20 26 26 |e.put th|eName &&|
|00002230| 20 22 d1 69 73 20 6e 6f | 74 20 68 65 72 65 21 22 | ".is no|t here!"|
|00002240| 0d 62 65 65 70 20 31 0d | 65 6e 64 20 69 66 0d 65 |.beep 1.|end if.e|
|00002250| 6e 64 20 44 4e 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |nd DN..f|unction |
|00002260| 64 65 6c 65 74 65 43 52 | 20 74 68 65 57 6f 72 64 |deleteCR| theWord|
|00002270| 0d 69 66 20 74 68 65 57 | 6f 72 64 20 69 73 20 6e |.if theW|ord is n|
|00002280| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 69 66 |ot empty| then.if|
|00002290| 20 6c 61 73 74 20 63 68 | 61 72 20 6f 66 20 74 68 | last ch|ar of th|
|000022a0| 65 57 6f 72 64 20 69 73 | 20 72 65 74 75 72 6e 20 |eWord is| return |
|000022b0| 74 68 65 6e 0d 64 65 6c | 65 74 65 20 6c 61 73 74 |then.del|ete last|
|000022c0| 20 63 68 61 72 20 6f 66 | 20 74 68 65 57 6f 72 64 | char of| theWord|
|000022d0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 72 |.end if.|end if.r|
|000022e0| 65 74 75 72 6e 20 74 68 | 65 57 6f 72 64 0d 65 6e |eturn th|eWord.en|
|000022f0| 64 20 64 65 6c 65 74 65 | 43 52 0d 0d 2d 2d 20 6f |d delete|CR..-- o|
|00002300| 6e 20 72 65 6d 6f 76 65 | 43 52 53 0d 2d 2d 20 20 |n remove|CRS.-- |
|00002310| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 3d 20 |repeat w|ith i = |
|00002320| 31 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |1 to the| number |
|00002330| 6f 66 20 63 61 72 64 73 | 0d 2d 2d 20 20 20 20 67 |of cards|.-- g|
|00002340| 6f 20 63 61 72 64 20 69 | 0d 2d 2d 20 20 20 20 69 |o card i|.-- i|
|00002350| 66 20 20 6c 61 73 74 20 | 63 68 61 72 20 6f 66 20 |f last |char of |
|00002360| 66 69 65 6c 64 20 22 73 | 65 6c 66 20 6e 61 6d 65 |field "s|elf name|
|00002370| 22 20 69 73 20 72 65 74 | 75 72 6e 20 74 68 65 6e |" is ret|urn then|
|00002380| 0d 2d 2d 20 20 20 20 20 | 20 64 65 6c 65 74 65 20 |.-- | delete |
|00002390| 20 6c 61 73 74 20 63 68 | 61 72 20 6f 66 20 66 69 | last ch|ar of fi|
|000023a0| 65 6c 64 20 22 73 65 6c | 66 20 6e 61 6d 65 22 0d |eld "sel|f name".|
|000023b0| 2d 2d 20 20 20 20 65 6e | 64 20 69 66 0d 2d 2d 20 |-- en|d if.-- |
|000023c0| 20 65 6e 64 20 72 65 70 | 65 61 74 0d 2d 2d 20 65 | end rep|eat.-- e|
|000023d0| 6e 64 20 72 65 6d 6f 76 | 65 43 52 53 0d 0d 66 75 |nd remov|eCRS..fu|
|000023e0| 6e 63 74 69 6f 6e 20 67 | 65 74 4d 6f 74 68 65 72 |nction g|etMother|
|000023f0| 0d 70 75 74 20 66 69 65 | 6c 64 20 22 6d 6f 74 68 |.put fie|ld "moth|
|00002400| 65 72 20 6e 61 6d 65 22 | 20 69 6e 74 6f 20 74 68 |er name"| into th|
|00002410| 65 4d 6f 74 68 65 72 0d | 69 66 20 74 68 65 4d 6f |eMother.|if theMo|
|00002420| 74 68 65 72 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |ther is |not empt|
|00002430| 79 20 74 68 65 6e 0d 67 | 6f 20 63 61 72 64 20 74 |y then.g|o card t|
|00002440| 68 65 4d 6f 74 68 65 72 | 0d 70 75 74 20 66 69 65 |heMother|.put fie|
|00002450| 6c 64 20 22 67 65 6e 65 | 72 61 74 69 6f 6e 22 20 |ld "gene|ration" |
|00002460| 26 26 20 22 2c 22 20 26 | 20 74 68 65 4d 6f 74 68 |&& "," &| theMoth|
|00002470| 65 72 20 69 6e 74 6f 20 | 72 65 74 56 61 6c 0d 65 |er into |retVal.e|
|00002480| 6e 64 20 69 66 0d 72 65 | 74 75 72 6e 20 72 65 74 |nd if.re|turn ret|
|00002490| 56 61 6c 0d 65 6e 64 20 | 67 65 74 4d 6f 74 68 65 |Val.end |getMothe|
|000024a0| 72 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 67 65 74 46 |r..funct|ion getF|
|000024b0| 61 74 68 65 72 0d 70 75 | 74 20 66 69 65 6c 64 20 |ather.pu|t field |
|000024c0| 22 66 61 74 68 65 72 20 | 6e 61 6d 65 22 20 69 6e |"father |name" in|
|000024d0| 74 6f 20 74 68 65 46 61 | 74 68 65 72 0d 69 66 20 |to theFa|ther.if |
|000024e0| 74 68 65 46 61 74 68 65 | 72 20 69 73 20 6e 6f 74 |theFathe|r is not|
|000024f0| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 67 6f 20 63 | empty t|hen.go c|
|00002500| 61 72 64 20 74 68 65 46 | 61 74 68 65 72 0d 70 75 |ard theF|ather.pu|
|00002510| 74 20 66 69 65 6c 64 20 | 22 67 65 6e 65 72 61 74 |t field |"generat|
|00002520| 69 6f 6e 22 20 26 26 20 | 22 2c 22 20 26 20 74 68 |ion" && |"," & th|
|00002530| 65 46 61 74 68 65 72 20 | 69 6e 74 6f 20 72 65 74 |eFather |into ret|
|00002540| 56 61 6c 0d 65 6e 64 20 | 69 66 0d 72 65 74 75 72 |Val.end |if.retur|
|00002550| 6e 20 72 65 74 56 61 6c | 0d 65 6e 64 20 67 65 74 |n retVal|.end get|
|00002560| 46 61 74 68 65 72 0d 0d | 66 75 6e 63 74 69 6f 6e |Father..|function|
|00002570| 20 67 65 74 41 6e 63 65 | 73 74 6f 72 73 20 74 68 | getAnce|stors th|
|00002580| 65 4b 65 79 2c 20 74 72 | 65 65 0d 70 75 74 20 74 |eKey, tr|ee.put t|
|00002590| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 74 68 69 |he numbe|r of thi|
|000025a0| 73 20 63 61 72 64 20 69 | 6e 74 6f 20 74 68 69 73 |s card i|nto this|
|000025b0| 43 61 72 64 0d 73 65 74 | 20 6c 6f 63 6b 53 63 72 |Card.set| lockScr|
|000025c0| 65 65 6e 20 74 6f 20 74 | 72 75 65 0d 70 75 74 20 |een to t|rue.put |
|000025d0| 74 68 65 20 6c 65 6e 67 | 74 68 20 6f 66 20 74 68 |the leng|th of th|
|000025e0| 65 4b 65 79 20 69 6e 74 | 6f 20 74 68 65 4c 65 6e |eKey int|o theLen|
|000025f0| 67 74 68 0d 70 75 74 20 | 66 69 65 6c 64 20 22 67 |gth.put |field "g|
|00002600| 65 6e 65 72 61 74 69 6f | 6e 22 20 69 6e 74 6f 20 |eneratio|n" into |
|00002610| 67 65 6e 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |gen.put |empty in|
|00002620| 74 6f 20 70 72 65 66 69 | 78 0d 70 75 74 20 67 65 |to prefi|x.put ge|
|00002630| 6e 20 26 26 20 22 53 3a | 22 20 26 26 20 66 69 65 |n && "S:|" && fie|
|00002640| 6c 64 20 22 73 65 6c 66 | 20 6e 61 6d 65 22 20 20 |ld "self| name" |
|00002650| 26 20 72 65 74 75 72 6e | 20 69 6e 74 6f 20 74 72 |& return| into tr|
|00002660| 65 65 0d 69 66 20 74 68 | 65 4c 65 6e 67 74 68 20 |ee.if th|eLength |
|00002670| 3d 20 31 20 74 68 65 6e | 20 2d 2d 20 61 6c 6c 20 |= 1 then| -- all |
|00002680| 66 61 74 68 65 72 73 2c | 20 6f 72 20 61 6c 6c 20 |fathers,| or all |
|00002690| 6d 6f 74 68 65 72 73 0d | 69 66 20 74 68 65 4b 65 |mothers.|if theKe|
|000026a0| 79 20 69 73 20 22 46 22 | 20 74 68 65 6e 0d 72 65 |y is "F"| then.re|
|000026b0| 70 65 61 74 20 77 68 69 | 6c 65 20 66 69 65 6c 64 |peat whi|le field|
|000026c0| 20 22 66 61 74 68 65 72 | 20 6e 61 6d 65 22 20 69 | "father| name" i|
|000026d0| 73 20 6e 6f 74 20 65 6d | 70 74 79 0d 70 75 74 20 |s not em|pty.put |
|000026e0| 22 46 22 20 61 66 74 65 | 72 20 70 72 65 66 69 78 |"F" afte|r prefix|
|000026f0| 0d 70 75 74 20 67 65 74 | 46 61 74 68 65 72 28 29 |.put get|Father()|
|00002700| 20 69 6e 74 6f 20 66 66 | 0d 70 75 74 20 69 74 65 | into ff|.put ite|
|00002710| 6d 20 31 20 6f 66 20 66 | 66 20 26 26 20 70 72 65 |m 1 of f|f && pre|
|00002720| 66 69 78 20 26 20 22 3a | 22 20 26 26 20 c2 0d 69 |fix & ":|" && ..i|
|00002730| 74 65 6d 20 32 20 6f 66 | 20 66 66 20 26 20 72 65 |tem 2 of| ff & re|
|00002740| 74 75 72 6e 20 62 65 66 | 6f 72 65 20 74 72 65 65 |turn bef|ore tree|
|00002750| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6c 73 65 |.end rep|eat.else|
|00002760| 0d 69 66 20 74 68 65 4b | 65 79 20 69 73 20 22 4d |.if theK|ey is "M|
|00002770| 22 20 74 68 65 6e 0d 72 | 65 70 65 61 74 20 77 68 |" then.r|epeat wh|
|00002780| 69 6c 65 20 66 69 65 6c | 64 20 22 6d 6f 74 68 65 |ile fiel|d "mothe|
|00002790| 72 20 6e 61 6d 65 22 20 | 69 73 20 6e 6f 74 20 65 |r name" |is not e|
|000027a0| 6d 70 74 79 0d 70 75 74 | 20 22 4d 22 20 61 66 74 |mpty.put| "M" aft|
|000027b0| 65 72 20 70 72 65 66 69 | 78 0d 70 75 74 20 67 65 |er prefi|x.put ge|
|000027c0| 74 4d 6f 74 68 65 72 28 | 29 20 69 6e 74 6f 20 6d |tMother(|) into m|
|000027d0| 6d 0d 70 75 74 20 69 74 | 65 6d 20 31 20 6f 66 20 |m.put it|em 1 of |
|000027e0| 6d 6d 20 26 26 20 70 72 | 65 66 69 78 20 26 20 22 |mm && pr|efix & "|
|000027f0| 3a 22 20 26 26 c2 0d 69 | 74 65 6d 20 32 20 6f 66 |:" &&..i|tem 2 of|
|00002800| 20 6d 6d 20 26 20 72 65 | 74 75 72 6e 20 62 65 66 | mm & re|turn bef|
|00002810| 6f 72 65 20 74 72 65 65 | 0d 65 6e 64 20 72 65 70 |ore tree|.end rep|
|00002820| 65 61 74 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |eat.end |if.end i|
|00002830| 66 0d 65 6c 73 65 20 2d | 2d 20 66 6f 6c 6c 6f 77 |f.else -|- follow|
|00002840| 20 6c 65 74 74 65 72 73 | 20 6f 66 20 74 68 65 4b | letters| of theK|
|00002850| 65 79 20 66 6f 72 20 46 | 61 74 68 65 72 2c 20 4d |ey for F|ather, M|
|00002860| 6f 74 68 65 72 20 6c 69 | 6e 6b 73 0d 72 65 70 65 |other li|nks.repe|
|00002870| 61 74 20 77 69 74 68 20 | 69 20 3d 20 31 20 74 6f |at with |i = 1 to|
|00002880| 20 74 68 65 4c 65 6e 67 | 74 68 0d 69 66 20 63 68 | theLeng|th.if ch|
|00002890| 61 72 20 69 20 6f 66 20 | 74 68 65 4b 65 79 20 69 |ar i of |theKey i|
|000028a0| 73 20 22 46 22 20 74 68 | 65 6e 0d 69 66 20 66 69 |s "F" th|en.if fi|
|000028b0| 65 6c 64 20 22 66 61 74 | 68 65 72 20 6e 61 6d 65 |eld "fat|her name|
|000028c0| 22 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |" is not| empty t|
|000028d0| 68 65 6e 0d 70 75 74 20 | 22 46 22 20 61 66 74 65 |hen.put |"F" afte|
|000028e0| 72 20 70 72 65 66 69 78 | 0d 70 75 74 20 67 65 74 |r prefix|.put get|
|000028f0| 46 61 74 68 65 72 28 29 | 20 69 6e 74 6f 20 66 66 |Father()| into ff|
|00002900| 0d 70 75 74 20 69 74 65 | 6d 20 31 20 6f 66 20 66 |.put ite|m 1 of f|
|00002910| 66 20 26 26 20 70 72 65 | 66 69 78 20 26 20 22 3a |f && pre|fix & ":|
|00002920| 22 20 26 26 20 c2 0d 69 | 74 65 6d 20 32 20 6f 66 |" && ..i|tem 2 of|
|00002930| 20 66 66 20 26 20 72 65 | 74 75 72 6e 20 62 65 66 | ff & re|turn bef|
|00002940| 6f 72 65 20 74 72 65 65 | 0d 65 6e 64 20 69 66 0d |ore tree|.end if.|
|00002950| 65 6c 73 65 0d 69 66 20 | 63 68 61 72 20 69 20 6f |else.if |char i o|
|00002960| 66 20 74 68 65 4b 65 79 | 20 69 73 20 22 4d 22 20 |f theKey| is "M" |
|00002970| 74 68 65 6e 0d 69 66 20 | 66 69 65 6c 64 20 22 6d |then.if |field "m|
|00002980| 6f 74 68 65 72 20 6e 61 | 6d 65 22 20 69 73 20 6e |other na|me" is n|
|00002990| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 70 75 |ot empty| then.pu|
|000029a0| 74 20 22 4d 22 20 61 66 | 74 65 72 20 70 72 65 66 |t "M" af|ter pref|
|000029b0| 69 78 0d 70 75 74 20 67 | 65 74 4d 6f 74 68 65 72 |ix.put g|etMother|
|000029c0| 28 29 20 69 6e 74 6f 20 | 6d 6d 0d 70 75 74 20 69 |() into |mm.put i|
|000029d0| 74 65 6d 20 31 20 6f 66 | 20 6d 6d 20 26 26 20 70 |tem 1 of| mm && p|
|000029e0| 72 65 66 69 78 20 26 20 | 22 3a 22 20 26 26 20 c2 |refix & |":" && .|
|000029f0| 0d 69 74 65 6d 20 32 20 | 6f 66 20 6d 6d 20 26 20 |.item 2 |of mm & |
|00002a00| 72 65 74 75 72 6e 20 62 | 65 66 6f 72 65 20 74 72 |return b|efore tr|
|00002a10| 65 65 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |ee.end i|f.end if|
|00002a20| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 72 65 70 65 |.end if.|end repe|
|00002a30| 61 74 0d 65 6e 64 20 69 | 66 0d 67 6f 20 63 61 72 |at.end i|f.go car|
|00002a40| 64 20 74 68 69 73 43 61 | 72 64 0d 72 65 74 75 72 |d thisCa|rd.retur|
|00002a50| 6e 20 74 72 65 65 0d 65 | 6e 64 20 67 65 74 41 6e |n tree.e|nd getAn|
|00002a60| 63 65 73 74 6f 72 73 0d | 0d 66 75 6e 63 74 69 6f |cestors.|.functio|
|00002a70| 6e 20 55 43 20 74 68 65 | 54 65 78 74 0d 69 66 20 |n UC the|Text.if |
|00002a80| 74 68 65 54 65 78 74 20 | 69 73 20 6e 6f 74 20 65 |theText |is not e|
|00002a90| 6d 70 74 79 20 74 68 65 | 6e 0d 72 65 70 65 61 74 |mpty the|n.repeat|
|00002aa0| 20 77 69 74 68 20 69 20 | 3d 20 31 20 74 6f 20 74 | with i |= 1 to t|
|00002ab0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 68 61 |he numbe|r of cha|
|00002ac0| 72 61 63 74 65 72 73 20 | 6f 66 20 74 68 65 54 65 |racters |of theTe|
|00002ad0| 78 74 0d 70 75 74 20 43 | 68 61 72 54 6f 4e 75 6d |xt.put C|harToNum|
|00002ae0| 28 63 68 61 72 20 69 20 | 6f 66 20 74 68 65 54 65 |(char i |of theTe|
|00002af0| 78 74 29 20 69 6e 74 6f | 20 61 73 63 69 69 0d 69 |xt) into| ascii.i|
|00002b00| 66 20 28 28 61 73 63 69 | 69 20 3e 20 39 36 29 20 |f ((asci|i > 96) |
|00002b10| 61 6e 64 20 28 61 73 63 | 69 69 20 3c 20 31 32 33 |and (asc|ii < 123|
|00002b20| 29 29 20 74 68 65 6e 0d | 70 75 74 20 4e 75 6d 54 |)) then.|put NumT|
|00002b30| 6f 43 68 61 72 28 61 73 | 63 69 69 20 2d 20 33 32 |oChar(as|cii - 32|
|00002b40| 29 20 69 6e 74 6f 20 63 | 68 61 72 20 69 20 6f 66 |) into c|har i of|
|00002b50| 20 74 68 65 54 65 78 74 | 0d 65 6e 64 20 69 66 0d | theText|.end if.|
|00002b60| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 69 |end repe|at.end i|
|00002b70| 66 0d 72 65 74 75 72 6e | 20 74 68 65 54 65 78 74 |f.return| theText|
|00002b80| 0d 65 6e 64 20 55 43 0d | 0d 0d 6f 6e 20 61 6e 63 |.end UC.|..on anc|
|00002b90| 65 73 74 6f 72 73 20 6c | 65 74 74 65 72 0d 61 73 |estors l|etter.as|
|00002ba0| 6b 20 22 46 28 61 74 68 | 65 72 29 2f 4d 28 6f 74 |k "F(ath|er)/M(ot|
|00002bb0| 68 65 72 29 20 6c 69 6e | 65 61 67 65 20 6b 65 79 |her) lin|eage key|
|00002bc0| 3a 22 20 77 69 74 68 20 | 6c 65 74 74 65 72 0d 69 |:" with |letter.i|
|00002bd0| 66 20 69 74 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |f it is |not empt|
|00002be0| 79 20 74 68 65 6e 0d 70 | 75 74 20 74 68 65 20 6e |y then.p|ut the n|
|00002bf0| 75 6d 62 65 72 20 6f 66 | 20 74 68 69 73 20 63 61 |umber of| this ca|
|00002c00| 72 64 20 69 6e 74 6f 20 | 74 68 69 73 43 61 72 64 |rd into |thisCard|
|00002c10| 0d 70 75 74 20 69 74 20 | 69 6e 74 6f 20 74 68 65 |.put it |into the|
|00002c20| 4b 65 79 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |Key.set |cursor t|
|00002c30| 6f 20 34 20 2d 2d 20 77 | 61 74 63 68 0d 70 75 74 |o 4 -- w|atch.put|
|00002c40| 20 67 65 74 41 6e 63 65 | 73 74 6f 72 73 28 74 68 | getAnce|stors(th|
|00002c50| 65 4b 65 79 2c 20 74 72 | 65 65 29 20 69 6e 74 6f |eKey, tr|ee) into|
|00002c60| 20 74 72 65 65 0d 67 6f | 20 63 61 72 64 20 74 68 | tree.go| card th|
|00002c70| 69 73 43 61 72 64 0d 70 | 75 74 20 22 4c 69 6e 65 |isCard.p|ut "Line|
|00002c80| 61 67 65 20 62 79 22 20 | 26 26 20 55 43 28 74 68 |age by" |&& UC(th|
|00002c90| 65 4b 65 79 29 20 26 20 | 22 3a 22 20 26 20 72 65 |eKey) & |":" & re|
|00002ca0| 74 75 72 6e 20 62 65 66 | 6f 72 65 20 74 72 65 65 |turn bef|ore tree|
|00002cb0| 0d 70 75 74 20 74 72 65 | 65 20 69 6e 74 6f 20 66 |.put tre|e into f|
|00002cc0| 69 65 6c 64 20 22 6c 69 | 73 74 69 6e 67 22 0d 73 |ield "li|sting".s|
|00002cd0| 65 74 20 73 63 72 6f 6c | 6c 20 6f 66 20 66 69 65 |et scrol|l of fie|
|00002ce0| 6c 64 20 22 6c 69 73 74 | 69 6e 67 22 20 74 6f 20 |ld "list|ing" to |
|00002cf0| 30 0d 73 68 6f 77 20 66 | 69 65 6c 64 20 22 6c 69 |0.show f|ield "li|
|00002d00| 73 74 69 6e 67 22 0d 65 | 6e 64 20 69 66 0d 65 6e |sting".e|nd if.en|
|00002d10| 64 20 61 6e 63 65 73 74 | 6f 72 73 0d 0d 6f 6e 20 |d ancest|ors..on |
|00002d20| 70 75 73 68 49 74 20 74 | 68 65 49 74 65 6d 0d 2d |pushIt t|heItem.-|
|00002d30| 2d 20 70 75 73 68 20 69 | 74 65 6d 20 6f 6e 20 70 |- push i|tem on p|
|00002d40| 73 65 75 64 6f 2d 73 74 | 61 63 6b 20 66 6f 72 20 |seudo-st|ack for |
|00002d50| 74 72 61 76 65 72 73 69 | 6e 67 20 66 61 6d 69 6c |traversi|ng famil|
|00002d60| 79 20 74 72 65 65 0d 67 | 6c 6f 62 61 6c 20 73 74 |y tree.g|lobal st|
|00002d70| 61 63 6b 0d 70 75 74 20 | 74 68 65 49 74 65 6d 20 |ack.put |theItem |
|00002d80| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 73 |& return| after s|
|00002d90| 74 61 63 6b 0d 65 6e 64 | 20 70 75 73 68 49 74 0d |tack.end| pushIt.|
|00002da0| 0d 66 75 6e 63 74 69 6f | 6e 20 70 6f 70 49 74 0d |.functio|n popIt.|
|00002db0| 2d 2d 20 70 6f 70 20 69 | 74 65 6d 20 66 72 6f 6d |-- pop i|tem from|
|00002dc0| 20 70 73 65 75 64 6f 2d | 73 74 61 63 6b 20 66 6f | pseudo-|stack fo|
|00002dd0| 72 20 74 72 61 76 65 72 | 73 69 6e 67 20 66 61 6d |r traver|sing fam|
|00002de0| 69 6c 79 20 74 72 65 65 | 0d 67 6c 6f 62 61 6c 20 |ily tree|.global |
|00002df0| 73 74 61 63 6b 0d 69 66 | 20 73 74 61 63 6b 20 69 |stack.if| stack i|
|00002e00| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00002e10| 0d 70 75 74 20 6c 61 73 | 74 20 6c 69 6e 65 20 6f |.put las|t line o|
|00002e20| 66 20 73 74 61 63 6b 20 | 69 6e 74 6f 20 74 68 65 |f stack |into the|
|00002e30| 4e 61 6d 65 0d 64 65 6c | 65 74 65 20 6c 61 73 74 |Name.del|ete last|
|00002e40| 20 6c 69 6e 65 20 6f 66 | 20 73 74 61 63 6b 0d 65 | line of| stack.e|
|00002e50| 6c 73 65 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |lse.put |empty in|
|00002e60| 74 6f 20 74 68 65 4e 61 | 6d 65 0d 70 75 74 20 22 |to theNa|me.put "|
|00002e70| 53 74 61 63 6b 20 65 6d | 70 74 79 21 22 0d 62 65 |Stack em|pty!".be|
|00002e80| 65 70 20 31 0d 65 6e 64 | 20 69 66 0d 72 65 74 75 |ep 1.end| if.retu|
|00002e90| 72 6e 20 64 65 6c 65 74 | 65 43 52 28 74 68 65 4e |rn delet|eCR(theN|
|00002ea0| 61 6d 65 29 0d 65 6e 64 | 20 70 6f 70 49 74 0d 0d |ame).end| popIt..|
|00002eb0| 66 75 6e 63 74 69 6f 6e | 20 64 65 70 74 68 0d 67 |function| depth.g|
|00002ec0| 6c 6f 62 61 6c 20 73 74 | 61 63 6b 0d 72 65 74 75 |lobal st|ack.retu|
|00002ed0| 72 6e 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |rn the n|umber of|
|00002ee0| 20 6c 69 6e 65 73 20 6f | 66 20 73 74 61 63 6b 0d | lines o|f stack.|
|00002ef0| 65 6e 64 20 64 65 70 74 | 68 0d 0d 6f 6e 20 73 77 |end dept|h..on sw|
|00002f00| 61 70 49 74 0d 67 6c 6f | 62 61 6c 20 73 74 61 63 |apIt.glo|bal stac|
|00002f10| 6b 0d 69 66 20 64 65 70 | 74 68 28 29 20 3e 20 31 |k.if dep|th() > 1|
|00002f20| 20 74 68 65 6e 0d 70 75 | 74 20 6c 61 73 74 20 6c | then.pu|t last l|
|00002f30| 69 6e 65 20 6f 66 20 73 | 74 61 63 6b 20 69 6e 74 |ine of s|tack int|
|00002f40| 6f 20 74 65 6d 70 0d 64 | 65 6c 65 74 65 20 6c 61 |o temp.d|elete la|
|00002f50| 73 74 20 6c 69 6e 65 20 | 6f 66 20 73 74 61 63 6b |st line |of stack|
|00002f60| 0d 70 75 74 20 74 65 6d | 70 20 26 20 72 65 74 75 |.put tem|p & retu|
|00002f70| 72 6e 20 62 65 66 6f 72 | 65 20 6c 61 73 74 20 6c |rn befor|e last l|
|00002f80| 69 6e 65 20 6f 66 20 73 | 74 61 63 6b 0d 65 6e 64 |ine of s|tack.end|
|00002f90| 20 69 66 0d 65 6e 64 20 | 73 77 61 70 49 74 0d 0d | if.end |swapIt..|
|00002fa0| 66 75 6e 63 74 69 6f 6e | 20 61 64 64 43 52 20 78 |function| addCR x|
|00002fb0| 78 0d 69 66 20 78 78 20 | 69 73 20 6e 6f 74 20 65 |x.if xx |is not e|
|00002fc0| 6d 70 74 79 20 74 68 65 | 6e 0d 69 66 20 6c 61 73 |mpty the|n.if las|
|00002fd0| 74 20 63 68 61 72 20 6f | 66 20 78 78 20 69 73 20 |t char o|f xx is |
|00002fe0| 6e 6f 74 20 72 65 74 75 | 72 6e 20 74 68 65 6e 0d |not retu|rn then.|
|00002ff0| 70 75 74 20 72 65 74 75 | 72 6e 20 61 66 74 65 72 |put retu|rn after|
|00003000| 20 78 78 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 | xx.end |if.end i|
|00003010| 66 0d 72 65 74 75 72 6e | 20 78 78 0d 65 6e 64 20 |f.return| xx.end |
|00003020| 61 64 64 43 52 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |addCR..f|unction |
|00003030| 63 6f 6c 6c 65 63 74 43 | 68 69 6c 64 72 65 6e 20 |collectC|hildren |
|00003040| 2d 2d 20 67 65 74 20 63 | 68 69 6c 64 72 65 6e 20 |-- get c|hildren |
|00003050| 66 72 6f 6d 20 70 61 72 | 65 6e 74 27 73 20 63 61 |from par|ent's ca|
|00003060| 72 64 0d 70 75 74 20 61 | 64 64 43 52 28 66 69 65 |rd.put a|ddCR(fie|
|00003070| 6c 64 20 22 69 73 73 75 | 65 31 22 29 20 69 6e 74 |ld "issu|e1") int|
|00003080| 6f 20 63 68 69 6c 64 72 | 65 6e 0d 70 75 74 20 61 |o childr|en.put a|
|00003090| 64 64 43 52 28 66 69 65 | 6c 64 20 22 69 73 73 75 |ddCR(fie|ld "issu|
|000030a0| 65 32 22 29 20 61 66 74 | 65 72 20 63 68 69 6c 64 |e2") aft|er child|
|000030b0| 72 65 6e 0d 70 75 74 20 | 41 64 64 43 52 28 66 69 |ren.put |AddCR(fi|
|000030c0| 65 6c 64 20 22 69 73 73 | 75 65 33 22 29 20 61 66 |eld "iss|ue3") af|
|000030d0| 74 65 72 20 63 68 69 6c | 64 72 65 6e 0d 70 75 74 |ter chil|dren.put|
|000030e0| 20 41 64 64 43 52 28 66 | 69 65 6c 64 20 22 69 73 | AddCR(f|ield "is|
|000030f0| 73 75 65 34 22 29 20 61 | 66 74 65 72 20 63 68 69 |sue4") a|fter chi|
|00003100| 6c 64 72 65 6e 0d 72 65 | 70 65 61 74 20 77 69 74 |ldren.re|peat wit|
|00003110| 68 20 69 20 3d 20 31 20 | 74 6f 20 74 68 65 20 6e |h i = 1 |to the n|
|00003120| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 6f |umber of| lines o|
|00003130| 66 20 63 68 69 6c 64 72 | 65 6e 0d 70 75 74 20 66 |f childr|en.put f|
|00003140| 69 65 6c 64 20 22 67 65 | 6e 65 72 61 74 69 6f 6e |ield "ge|neration|
|00003150| 22 20 2b 20 31 20 26 20 | 22 3a 22 20 26 20 73 70 |" + 1 & |":" & sp|
|00003160| 61 63 65 20 62 65 66 6f | 72 65 20 6c 69 6e 65 20 |ace befo|re line |
|00003170| 69 20 6f 66 20 63 68 69 | 6c 64 72 65 6e 0d 65 6e |i of chi|ldren.en|
|00003180| 64 20 72 65 70 65 61 74 | 0d 72 65 74 75 72 6e 20 |d repeat|.return |
|00003190| 63 68 69 6c 64 72 65 6e | 0d 65 6e 64 20 63 6f 6c |children|.end col|
|000031a0| 6c 65 63 74 43 68 69 6c | 64 72 65 6e 0d 0d 2d 2d |lectChil|dren..--|
|000031b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 2d 2d 20 |--------|----.-- |
|000031c0| 57 4f 52 4b 53 2c 20 42 | 55 54 20 47 49 56 45 53 |WORKS, B|UT GIVES|
|000031d0| 20 22 54 4f 4f 20 4d 55 | 43 48 20 52 45 43 55 52 | "TOO MU|CH RECUR|
|000031e0| 53 49 4f 4e 22 20 49 46 | 20 4d 4f 52 45 20 54 48 |SION" IF| MORE TH|
|000031f0| 41 4e 20 32 20 47 45 4e | 45 52 41 54 49 4f 4e 53 |AN 2 GEN|ERATIONS|
|00003200| 0d 2d 2d 66 75 6e 63 74 | 69 6f 6e 20 67 65 74 43 |.--funct|ion getC|
|00003210| 68 69 6c 64 72 65 6e 20 | 74 61 72 67 65 74 47 65 |hildren |targetGe|
|00003220| 6e 0d 2d 2d 20 20 70 75 | 74 20 63 6f 6c 6c 65 63 |n.-- pu|t collec|
|00003230| 74 43 68 69 6c 64 72 65 | 6e 28 29 20 61 66 74 65 |tChildre|n() afte|
|00003240| 72 20 63 68 69 6c 64 72 | 65 6e 0d 2d 2d 20 20 72 |r childr|en.-- r|
|00003250| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 31 |epeat wi|th i = 1|
|00003260| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|00003270| 66 20 6c 69 6e 65 73 20 | 6f 66 20 63 68 69 6c 64 |f lines |of child|
|00003280| 72 65 6e 0d 2d 2d 20 20 | 20 20 67 6f 20 63 61 72 |ren.-- | go car|
|00003290| 64 20 70 61 72 73 65 46 | 72 6f 6d 43 6f 6c 6f 6e |d parseF|romColon|
|000032a0| 28 6c 69 6e 65 20 69 20 | 6f 66 20 63 68 69 6c 64 |(line i |of child|
|000032b0| 72 65 6e 29 0d 2d 2d 20 | 20 20 20 70 75 74 20 63 |ren).-- | put c|
|000032c0| 6f 6c 6c 65 63 74 43 68 | 69 6c 64 72 65 6e 28 29 |ollectCh|ildren()|
|000032d0| 20 61 66 74 65 72 20 74 | 65 6d 70 0d 2d 2d 20 20 | after t|emp.-- |
|000032e0| 65 6e 64 20 72 65 70 65 | 61 74 0d 2d 2d 20 20 70 |end repe|at.-- p|
|000032f0| 75 74 20 74 65 6d 70 20 | 61 66 74 65 72 20 63 68 |ut temp |after ch|
|00003300| 69 6c 64 72 65 6e 0d 2d | 2d 20 20 69 66 20 66 69 |ildren.-|- if fi|
|00003310| 65 6c 64 20 22 67 65 6e | 65 72 61 74 69 6f 6e 22 |eld "gen|eration"|
|00003320| 20 3c 20 74 61 72 67 65 | 74 47 65 6e 20 74 68 65 | < targe|tGen the|
|00003330| 6e 0d 2d 2d 20 20 20 20 | 70 75 74 20 67 65 74 43 |n.-- |put getC|
|00003340| 68 69 6c 64 72 65 6e 28 | 74 61 72 67 65 74 47 65 |hildren(|targetGe|
|00003350| 6e 29 20 69 6e 74 6f 20 | 63 68 69 6c 64 72 65 6e |n) into |children|
|00003360| 0d 2d 2d 20 20 65 6c 73 | 65 0d 2d 2d 20 20 20 20 |.-- els|e.-- |
|00003370| 72 65 74 75 72 6e 20 63 | 68 69 6c 64 72 65 6e 0d |return c|hildren.|
|00003380| 2d 2d 20 20 65 6e 64 20 | 69 66 0d 2d 2d 65 6e 64 |-- end |if.--end|
|00003390| 20 67 65 74 43 68 69 6c | 64 72 65 6e 0d 0d 6f 6e | getChil|dren..on|
|000033a0| 20 74 6f 70 53 6f 72 74 | 0d 61 6e 73 77 65 72 20 | topSort|.answer |
|000033b0| 22 53 6f 72 74 20 62 79 | 3a 22 20 c2 0d 77 69 74 |"Sort by|:" ..wit|
|000033c0| 68 20 22 50 65 72 73 6f | 6e 22 20 6f 72 20 22 50 |h "Perso|n" or "P|
|000033d0| 61 72 65 6e 74 73 22 20 | 6f 72 20 22 43 61 6e 63 |arents" |or "Canc|
|000033e0| 65 6c 22 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 |el".put |it into |
|000033f0| 70 61 72 65 6e 74 73 50 | 65 72 73 6f 6e 0d 69 66 |parentsP|erson.if|
|00003400| 20 70 61 72 65 6e 74 73 | 50 65 72 73 6f 6e 20 63 | parents|Person c|
|00003410| 6f 6e 74 61 69 6e 73 20 | 22 50 65 72 73 6f 6e 22 |ontains |"Person"|
|00003420| 20 74 68 65 6e 0d 61 6e | 73 77 65 72 20 22 53 6f | then.an|swer "So|
|00003430| 72 74 20 61 6c 6c 20 63 | 61 72 64 73 20 62 79 3a |rt all c|ards by:|
|00003440| 22 20 77 69 74 68 20 22 | 4e 61 6d 65 73 22 20 6f |" with "|Names" o|
|00003450| 72 20 22 47 65 6e 65 72 | 61 74 69 6f 6e 22 20 6f |r "Gener|ation" o|
|00003460| 72 20 22 43 61 6e 63 65 | 6c 22 0d 69 66 20 69 74 |r "Cance|l".if it|
|00003470| 20 69 73 20 22 4e 61 6d | 65 73 22 20 74 68 65 6e | is "Nam|es" then|
|00003480| 0d 53 6f 72 74 42 79 4e | 61 6d 65 73 20 22 73 65 |.SortByN|ames "se|
|00003490| 6c 66 20 6e 61 6d 65 22 | 0d 65 6c 73 65 0d 69 66 |lf name"|.else.if|
|000034a0| 20 69 74 20 69 73 20 22 | 47 65 6e 65 72 61 74 69 | it is "|Generati|
|000034b0| 6f 6e 22 20 74 68 65 6e | 0d 53 6f 72 74 42 79 47 |on" then|.SortByG|
|000034c0| 65 6e 65 72 61 74 69 6f | 6e 20 22 73 65 6c 66 20 |eneratio|n "self |
|000034d0| 6e 61 6d 65 22 0d 65 6e | 64 20 69 66 0d 65 6e 64 |name".en|d if.end|
|000034e0| 20 69 66 0d 65 6c 73 65 | 0d 69 66 20 70 61 72 65 | if.else|.if pare|
|000034f0| 6e 74 73 50 65 72 73 6f | 6e 20 63 6f 6e 74 61 69 |ntsPerso|n contai|
|00003500| 6e 73 20 22 50 61 72 65 | 6e 74 73 22 20 74 68 65 |ns "Pare|nts" the|
|00003510| 6e 0d 61 6e 73 77 65 72 | 20 22 53 6f 72 74 20 62 |n.answer| "Sort b|
|00003520| 79 3a 22 20 77 69 74 68 | 20 22 46 61 74 68 65 72 |y:" with| "Father|
|00003530| 22 20 6f 72 20 22 4d 6f | 74 68 65 72 22 20 6f 72 |" or "Mo|ther" or|
|00003540| 20 22 43 61 6e 63 65 6c | 22 0d 69 66 20 69 74 20 | "Cancel|".if it |
|00003550| 63 6f 6e 74 61 69 6e 73 | 20 22 46 61 74 68 65 72 |contains| "Father|
|00003560| 22 20 74 68 65 6e 0d 70 | 75 74 20 22 66 61 74 68 |" then.p|ut "fath|
|00003570| 65 72 20 6e 61 6d 65 22 | 20 69 6e 74 6f 20 66 69 |er name"| into fi|
|00003580| 65 6c 64 4e 61 6d 65 0d | 65 6c 73 65 0d 69 66 20 |eldName.|else.if |
|00003590| 69 74 20 63 6f 6e 74 61 | 69 6e 73 20 22 4d 6f 74 |it conta|ins "Mot|
|000035a0| 68 65 72 22 20 74 68 65 | 6e 0d 70 75 74 20 22 6d |her" the|n.put "m|
|000035b0| 6f 74 68 65 72 20 6e 61 | 6d 65 22 20 69 6e 74 6f |other na|me" into|
|000035c0| 20 66 69 65 6c 64 4e 61 | 6d 65 0d 65 6c 73 65 0d | fieldNa|me.else.|
|000035d0| 65 78 69 74 20 74 6f 70 | 53 6f 72 74 0d 65 6e 64 |exit top|Sort.end|
|000035e0| 20 69 66 0d 65 6e 64 20 | 69 66 0d 61 6e 73 77 65 | if.end |if.answe|
|000035f0| 72 20 22 53 6f 72 74 20 | 61 6c 6c 20 63 61 72 64 |r "Sort |all card|
|00003600| 73 20 62 79 3a 22 20 c2 | 0d 77 69 74 68 20 22 4e |s by:" .|.with "N|
|00003610| 61 6d 65 73 22 20 6f 72 | 20 22 47 65 6e 65 72 61 |ames" or| "Genera|
|00003620| 74 69 6f 6e 22 20 6f 72 | 20 22 43 61 6e 63 65 6c |tion" or| "Cancel|
|00003630| 22 0d 69 66 20 69 74 20 | 69 73 20 22 4e 61 6d 65 |".if it |is "Name|
|00003640| 73 22 20 74 68 65 6e 0d | 53 6f 72 74 42 79 4e 61 |s" then.|SortByNa|
|00003650| 6d 65 73 20 66 69 65 6c | 64 4e 61 6d 65 0d 65 6c |mes fiel|dName.el|
|00003660| 73 65 0d 69 66 20 69 74 | 20 69 73 20 22 47 65 6e |se.if it| is "Gen|
|00003670| 65 72 61 74 69 6f 6e 22 | 20 74 68 65 6e 0d 53 6f |eration"| then.So|
|00003680| 72 74 42 79 47 65 6e 65 | 72 61 74 69 6f 6e 20 66 |rtByGene|ration f|
|00003690| 69 65 6c 64 4e 61 6d 65 | 0d 65 6e 64 20 69 66 0d |ieldName|.end if.|
|000036a0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en|
|000036b0| 64 20 69 66 0d 65 6e 64 | 20 74 6f 70 53 6f 72 74 |d if.end| topSort|
|000036c0| 0d 0d 6f 6e 20 53 6f 72 | 74 42 79 4e 61 6d 65 73 |..on Sor|tByNames|
|000036d0| 20 66 69 65 6c 64 4e 61 | 6d 65 0d 61 6e 73 77 65 | fieldNa|me.answe|
|000036e0| 72 20 22 53 6f 72 74 20 | 62 79 3a 22 20 c2 0d 77 |r "Sort |by:" ..w|
|000036f0| 69 74 68 20 22 46 69 72 | 73 74 20 4e 61 6d 65 22 |ith "Fir|st Name"|
|00003700| 20 6f 72 20 22 4c 61 73 | 74 20 4e 61 6d 65 22 20 | or "Las|t Name" |
|00003710| 6f 72 20 22 43 61 6e 63 | 65 6c 22 0d 70 75 74 20 |or "Canc|el".put |
|00003720| 69 74 20 69 6e 74 6f 20 | 66 69 72 73 74 41 6e 73 |it into |firstAns|
|00003730| 77 65 72 0d 69 66 20 66 | 69 72 73 74 41 6e 73 77 |wer.if f|irstAnsw|
|00003740| 65 72 20 63 6f 6e 74 61 | 69 6e 73 20 22 4e 61 6d |er conta|ins "Nam|
|00003750| 65 22 20 74 68 65 6e 0d | 61 6e 73 77 65 72 20 22 |e" then.|answer "|
|00003760| 49 6e 64 69 63 61 74 65 | 20 73 69 6d 70 6c 65 20 |Indicate| simple |
|00003770| 6f 72 20 63 6f 6d 70 6c | 65 74 65 20 73 6f 72 74 |or compl|ete sort|
|00003780| 3a 22 c2 0d 77 69 74 68 | 20 22 53 69 6d 70 6c 65 |:"..with| "Simple|
|00003790| 22 20 6f 72 20 22 43 6f | 6d 70 6c 65 74 65 22 20 |" or "Co|mplete" |
|000037a0| 6f 72 20 22 43 61 6e 63 | 65 6c 22 0d 69 66 20 69 |or "Canc|el".if i|
|000037b0| 74 20 69 73 20 22 53 69 | 6d 70 6c 65 22 20 74 68 |t is "Si|mple" th|
|000037c0| 65 6e 0d 69 66 20 66 69 | 72 73 74 41 6e 73 77 65 |en.if fi|rstAnswe|
|000037d0| 72 20 69 73 20 22 46 69 | 72 73 74 20 4e 61 6d 65 |r is "Fi|rst Name|
|000037e0| 22 20 74 68 65 6e 0d 73 | 6f 72 74 20 62 79 20 66 |" then.s|ort by f|
|000037f0| 69 72 73 74 4e 61 6d 65 | 28 47 65 74 4e 61 6d 65 |irstName|(GetName|
|00003800| 28 66 69 65 6c 64 4e 61 | 6d 65 29 29 0d 65 6c 73 |(fieldNa|me)).els|
|00003810| 65 0d 73 6f 72 74 20 62 | 79 20 6c 61 73 74 4e 61 |e.sort b|y lastNa|
|00003820| 6d 65 28 47 65 74 4e 61 | 6d 65 28 66 69 65 6c 64 |me(GetNa|me(field|
|00003830| 4e 61 6d 65 29 29 0d 65 | 6e 64 20 69 66 0d 65 6c |Name)).e|nd if.el|
|00003840| 73 65 0d 69 66 20 69 74 | 20 69 73 20 22 43 6f 6d |se.if it| is "Com|
|00003850| 70 6c 65 74 65 22 20 74 | 68 65 6e 0d 69 66 20 66 |plete" t|hen.if f|
|00003860| 69 72 73 74 41 6e 73 77 | 65 72 20 69 73 20 22 46 |irstAnsw|er is "F|
|00003870| 69 72 73 74 20 4e 61 6d | 65 22 20 74 68 65 6e 0d |irst Nam|e" then.|
|00003880| 73 6f 72 74 20 62 79 20 | 66 69 72 73 74 4e 61 6d |sort by |firstNam|
|00003890| 65 28 47 65 74 4e 61 6d | 65 28 66 69 65 6c 64 4e |e(GetNam|e(fieldN|
|000038a0| 61 6d 65 29 29 20 26 20 | c2 0d 73 65 63 6f 6e 64 |ame)) & |..second|
|000038b0| 4e 61 6d 65 28 47 65 74 | 4e 61 6d 65 28 66 69 65 |Name(Get|Name(fie|
|000038c0| 6c 64 4e 61 6d 65 29 29 | 20 26 20 c2 0d 74 68 69 |ldName))| & ..thi|
|000038d0| 72 64 4e 61 6d 65 28 47 | 65 74 4e 61 6d 65 28 66 |rdName(G|etName(f|
|000038e0| 69 65 6c 64 4e 61 6d 65 | 29 29 20 26 20 c2 0d 6c |ieldName|)) & ..l|
|000038f0| 61 73 74 4e 61 6d 65 28 | 47 65 74 4e 61 6d 65 28 |astName(|GetName(|
|00003900| 66 69 65 6c 64 4e 61 6d | 65 29 29 20 26 c2 0d 66 |fieldNam|e)) &..f|
|00003910| 69 65 6c 64 20 22 47 65 | 6e 65 72 61 74 69 6f 6e |ield "Ge|neration|
|00003920| 22 0d 65 6c 73 65 0d 73 | 6f 72 74 20 62 79 20 6c |".else.s|ort by l|
|00003930| 61 73 74 4e 61 6d 65 28 | 47 65 74 4e 61 6d 65 28 |astName(|GetName(|
|00003940| 66 69 65 6c 64 4e 61 6d | 65 29 29 20 26 20 c2 0d |fieldNam|e)) & ..|
|00003950| 66 69 72 73 74 4e 61 6d | 65 28 47 65 74 4e 61 6d |firstNam|e(GetNam|
|00003960| 65 28 66 69 65 6c 64 4e | 61 6d 65 29 29 20 26 20 |e(fieldN|ame)) & |
|00003970| c2 0d 73 65 63 6f 6e 64 | 4e 61 6d 65 28 47 65 74 |..second|Name(Get|
|00003980| 4e 61 6d 65 28 66 69 65 | 6c 64 4e 61 6d 65 29 29 |Name(fie|ldName))|
|00003990| 20 26 20 c2 0d 74 68 69 | 72 64 4e 61 6d 65 28 47 | & ..thi|rdName(G|
|000039a0| 65 74 4e 61 6d 65 28 66 | 69 65 6c 64 4e 61 6d 65 |etName(f|ieldName|
|000039b0| 29 29 20 26 c2 0d 66 69 | 65 6c 64 20 22 47 65 6e |)) &..fi|eld "Gen|
|000039c0| 65 72 61 74 69 6f 6e 22 | 0d 65 6e 64 20 69 66 0d |eration"|.end if.|
|000039d0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en|
|000039e0| 64 20 69 66 0d 65 6e 64 | 20 53 6f 72 74 42 79 4e |d if.end| SortByN|
|000039f0| 61 6d 65 73 0d 0d 6f 6e | 20 53 6f 72 74 42 79 47 |ames..on| SortByG|
|00003a00| 65 6e 65 72 61 74 69 6f | 6e 20 66 69 65 6c 64 4e |eneratio|n fieldN|
|00003a10| 61 6d 65 0d 61 6e 73 77 | 65 72 20 22 53 6f 72 74 |ame.answ|er "Sort|
|00003a20| 20 62 79 3a 22 20 c2 0d | 77 69 74 68 20 22 46 69 | by:" ..|with "Fi|
|00003a30| 72 73 74 20 4e 61 6d 65 | 22 20 6f 72 20 22 4c 61 |rst Name|" or "La|
|00003a40| 73 74 20 4e 61 6d 65 22 | 20 6f 72 20 22 43 61 6e |st Name"| or "Can|
|00003a50| 63 65 6c 22 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |cel".put| it into|
|00003a60| 20 66 69 72 73 74 41 6e | 73 77 65 72 0d 69 66 20 | firstAn|swer.if |
|00003a70| 66 69 72 73 74 41 6e 73 | 77 65 72 20 63 6f 6e 74 |firstAns|wer cont|
|00003a80| 61 69 6e 73 20 22 4e 61 | 6d 65 22 20 74 68 65 6e |ains "Na|me" then|
|00003a90| 0d 61 6e 73 77 65 72 20 | 22 49 6e 64 69 63 61 74 |.answer |"Indicat|
|00003aa0| 65 20 73 69 6d 70 6c 65 | 20 6f 72 20 63 6f 6d 70 |e simple| or comp|
|00003ab0| 6c 65 74 65 20 73 6f 72 | 74 3a 22 c2 0d 77 69 74 |lete sor|t:"..wit|
|00003ac0| 68 20 22 53 69 6d 70 6c | 65 22 20 6f 72 20 22 43 |h "Simpl|e" or "C|
|00003ad0| 6f 6d 70 6c 65 74 65 22 | 20 6f 72 20 22 43 61 6e |omplete"| or "Can|
|00003ae0| 63 65 6c 22 0d 69 66 20 | 69 74 20 69 73 20 22 53 |cel".if |it is "S|
|00003af0| 69 6d 70 6c 65 22 20 74 | 68 65 6e 0d 69 66 20 66 |imple" t|hen.if f|
|00003b00| 69 72 73 74 41 6e 73 77 | 65 72 20 69 73 20 22 46 |irstAnsw|er is "F|
|00003b10| 69 72 73 74 20 4e 61 6d | 65 22 20 74 68 65 6e 0d |irst Nam|e" then.|
|00003b20| 73 6f 72 74 20 62 79 20 | 66 69 65 6c 64 20 22 47 |sort by |field "G|
|00003b30| 65 6e 65 72 61 74 69 6f | 6e 22 20 26 20 c2 0d 66 |eneratio|n" & ..f|
|00003b40| 69 72 73 74 4e 61 6d 65 | 28 47 65 74 4e 61 6d 65 |irstName|(GetName|
|00003b50| 28 66 69 65 6c 64 4e 61 | 6d 65 29 29 0d 65 6c 73 |(fieldNa|me)).els|
|00003b60| 65 0d 73 6f 72 74 20 62 | 79 20 66 69 65 6c 64 20 |e.sort b|y field |
|00003b70| 22 47 65 6e 65 72 61 74 | 69 6f 6e 22 20 26 20 c2 |"Generat|ion" & .|
|00003b80| 0d 6c 61 73 74 4e 61 6d | 65 28 47 65 74 4e 61 6d |.lastNam|e(GetNam|
|00003b90| 65 28 66 69 65 6c 64 4e | 61 6d 65 29 29 0d 65 6e |e(fieldN|ame)).en|
|00003ba0| 64 20 69 66 0d 65 6c 73 | 65 0d 69 66 20 69 74 20 |d if.els|e.if it |
|00003bb0| 69 73 20 22 43 6f 6d 70 | 6c 65 74 65 22 20 74 68 |is "Comp|lete" th|
|00003bc0| 65 6e 0d 69 66 20 66 69 | 72 73 74 41 6e 73 77 65 |en.if fi|rstAnswe|
|00003bd0| 72 20 69 73 20 22 46 69 | 72 73 74 20 4e 61 6d 65 |r is "Fi|rst Name|
|00003be0| 22 20 74 68 65 6e 0d 73 | 6f 72 74 20 62 79 20 66 |" then.s|ort by f|
|00003bf0| 69 65 6c 64 20 22 47 65 | 6e 65 72 61 74 69 6f 6e |ield "Ge|neration|
|00003c00| 22 20 26 c2 0d 66 69 72 | 73 74 4e 61 6d 65 28 47 |" &..fir|stName(G|
|00003c10| 65 74 4e 61 6d 65 28 66 | 69 65 6c 64 4e 61 6d 65 |etName(f|ieldName|
|00003c20| 29 29 20 26 20 c2 0d 73 | 65 63 6f 6e 64 4e 61 6d |)) & ..s|econdNam|
|00003c30| 65 28 47 65 74 4e 61 6d | 65 28 66 69 65 6c 64 4e |e(GetNam|e(fieldN|
|00003c40| 61 6d 65 29 29 20 26 20 | c2 0d 74 68 69 72 64 4e |ame)) & |..thirdN|
|00003c50| 61 6d 65 28 47 65 74 4e | 61 6d 65 28 66 69 65 6c |ame(GetN|ame(fiel|
|00003c60| 64 4e 61 6d 65 29 29 20 | 26 20 c2 0d 6c 61 73 74 |dName)) |& ..last|
|00003c70| 4e 61 6d 65 28 47 65 74 | 4e 61 6d 65 28 66 69 65 |Name(Get|Name(fie|
|00003c80| 6c 64 4e 61 6d 65 29 29 | 0d 65 6c 73 65 0d 73 6f |ldName))|.else.so|
|00003c90| 72 74 20 62 79 20 66 69 | 65 6c 64 20 22 47 65 6e |rt by fi|eld "Gen|
|00003ca0| 65 72 61 74 69 6f 6e 22 | 20 26 20 c2 0d 6c 61 73 |eration"| & ..las|
|00003cb0| 74 4e 61 6d 65 28 47 65 | 74 4e 61 6d 65 28 66 69 |tName(Ge|tName(fi|
|00003cc0| 65 6c 64 4e 61 6d 65 29 | 29 20 26 20 c2 0d 66 69 |eldName)|) & ..fi|
|00003cd0| 72 73 74 4e 61 6d 65 28 | 47 65 74 4e 61 6d 65 28 |rstName(|GetName(|
|00003ce0| 66 69 65 6c 64 4e 61 6d | 65 29 29 20 26 20 c2 0d |fieldNam|e)) & ..|
|00003cf0| 73 65 63 6f 6e 64 4e 61 | 6d 65 28 47 65 74 4e 61 |secondNa|me(GetNa|
|00003d00| 6d 65 28 66 69 65 6c 64 | 4e 61 6d 65 29 29 20 26 |me(field|Name)) &|
|00003d10| 20 c2 0d 74 68 69 72 64 | 4e 61 6d 65 28 47 65 74 | ..third|Name(Get|
|00003d20| 4e 61 6d 65 28 66 69 65 | 6c 64 4e 61 6d 65 29 29 |Name(fie|ldName))|
|00003d30| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 65 |.end if.|end if.e|
|00003d40| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00003d50| 20 53 6f 72 74 42 79 47 | 65 6e 65 72 61 74 69 6f | SortByG|eneratio|
|00003d60| 6e 0d 0d 00 c2 0d 66 69 | 72 73 74 4e 61 6d 65 28 |n.....fi|rstName(|
|00003d70| 47 65 74 4e 61 6d 65 28 | 66 69 65 6c 64 4e 61 6d |GetName(|fieldNam|
|00003d80| 65 29 29 20 26 20 c2 0d | 73 65 63 6f 6e 64 4e 61 |e)) & ..|secondNa|
|00003d90| 6d 65 28 47 65 74 4e 61 | 6d 65 28 66 69 65 6c 64 |me(GetNa|me(field|
|00003da0| 4e 61 6d 65 29 29 20 26 | 20 c2 0d 74 68 69 72 64 |Name)) &| ..third|
|00003db0| 4e 61 6d 65 28 47 65 74 | 4e 61 6d 65 28 66 69 65 |Name(Get|Name(fie|
|00003dc0| 6c 64 4e 61 6d 65 29 29 | 0d 65 6e 64 20 69 66 0d |ldName))|.end if.|
|00003dd0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en|
|00003de0| 64 20 69 66 0d 65 6e 64 | 20 53 6f 72 74 42 79 47 |d if.end| SortByG|
|00003df0| 65 6e 65 72 61 74 69 6f | 6e 0d 0d 00 64 4e 61 6d |eneratio|n...dNam|
|00003e00| 65 28 47 65 74 4e 61 6d | 65 28 66 69 65 6c 64 4e |e(GetNam|e(fieldN|
|00003e10| 61 6d 65 29 29 0d 65 6e | 64 20 69 66 0d 65 6e 64 |ame)).en|d if.end|
|00003e20| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 | if.end |if.end i|
|00003e30| 66 0d 65 6e 64 20 53 6f | 72 74 42 79 47 65 6e 65 |f.end So|rtByGene|
|00003e40| 72 61 74 69 6f 6e 0d 0d | 0d 0d 00 67 6f 20 63 61 |ration..|...go ca|
|00003e50| 72 64 20 74 68 65 4e 61 | 6d 65 0d 70 75 74 20 63 |rd theNa|me.put c|
|00003e60| 6f 6c 6c 65 63 74 43 68 | 69 6c 64 72 65 6e 28 29 |ollectCh|ildren()|
|00003e70| 20 61 66 74 65 72 20 6f | 66 66 73 70 72 69 6e 67 | after o|ffspring|
|00003e80| 0d 65 6c 73 65 0d 6e 65 | 78 74 20 72 65 70 65 61 |.else.ne|xt repea|
|00003e90| 74 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 72 65 70 |t.end if|.end rep|
|00003ea0| 65 61 74 0d 67 6f 20 63 | 61 72 64 20 74 68 69 73 |eat.go c|ard this|
|00003eb0| 43 61 72 64 0d 70 75 74 | 20 22 4f 66 66 73 70 72 |Card.put| "Offspr|
|00003ec0| 69 6e 67 20 74 6f 20 67 | 72 61 6e 64 63 68 69 6c |ing to g|randchil|
|00003ed0| 64 72 65 6e 3a 22 20 26 | 20 72 65 74 75 72 6e 20 |dren:" &| return |
|00003ee0| 62 65 66 6f 72 65 20 6f | 66 66 73 70 72 69 6e 67 |before o|ffspring|
|00003ef0| 0d 70 75 74 20 6f 66 66 | 73 70 72 69 6e 67 20 69 |.put off|spring i|
|00003f00| 6e 74 6f 20 66 69 65 6c | 64 20 22 61 6e 63 65 73 |nto fiel|d "ances|
|00003f10| 74 6f 72 73 22 0d 73 65 | 74 20 73 63 72 6f 6c 6c |tors".se|t scroll|
|00003f20| 20 6f 66 20 66 69 65 6c | 64 20 22 61 6e 63 65 73 | of fiel|d "ances|
|00003f30| 74 6f 72 73 22 20 74 6f | 20 30 0d 73 68 6f 77 20 |tors" to| 0.show |
|00003f40| 66 69 65 6c 64 20 22 61 | 6e 63 65 73 74 6f 72 73 |field "a|ncestors|
|00003f50| 22 0d 73 65 74 20 6c 6f | 63 6b 4d 65 73 73 61 67 |".set lo|ckMessag|
|00003f60| 65 73 20 74 6f 20 66 61 | 6c 73 65 0d 65 6e 64 20 |es to fa|lse.end |
|00003f70| 47 43 0d 0d 6f 6e 20 64 | 6f 41 72 74 0d 73 65 74 |GC..on d|oArt.set|
|00003f80| 20 74 68 65 20 6e 75 6d | 62 65 72 46 6f 72 6d 61 | the num|berForma|
|00003f90| 74 20 74 6f 20 22 30 30 | 30 30 2e 22 0d 72 65 70 |t to "00|00.".rep|
|00003fa0| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 37 32 37 |eat with| i = 727|
|00003fb0| 20 74 6f 20 37 39 37 0d | 67 6f 20 63 61 72 64 20 | to 797.|go card |
|00003fc0| 69 0d 69 66 20 77 6f 72 | 64 20 31 20 6f 66 20 66 |i.if wor|d 1 of f|
|00003fd0| 69 65 6c 64 20 73 6f 75 | 72 63 65 20 63 6f 6e 74 |ield sou|rce cont|
|00003fe0| 61 69 6e 73 20 22 41 52 | 54 22 20 74 68 65 6e 0d |ains "AR|T" then.|
|00003ff0| 67 65 74 20 77 6f 72 64 | 20 32 20 6f 66 20 66 69 |get word| 2 of fi|
|00004000| 65 6c 64 20 73 6f 75 72 | 63 65 0d 69 66 20 69 74 |eld sour|ce.if it|
|00004010| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00004020| 65 6e 0d 70 75 74 20 74 | 68 65 20 76 61 6c 75 65 |en.put t|he value|
|00004030| 20 6f 66 20 69 74 20 69 | 6e 74 6f 20 77 6f 72 64 | of it i|nto word|
|00004040| 20 32 20 6f 66 20 66 69 | 65 6c 64 20 73 6f 75 72 | 2 of fi|eld sour|
|00004050| 63 65 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |ce.end i|f.end if|
|00004060| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00004070| 64 6f 41 72 74 0d 0d 0d | 00 6d 62 65 72 20 6f 66 |doArt...|.mber of|
|00004080| 20 74 68 69 73 20 63 61 | 72 64 20 69 6e 74 6f 20 | this ca|rd into |
|00004090| 74 68 69 73 43 61 72 64 | 0d 70 75 74 20 63 6f 6c |thisCard|.put col|
|000040a0| 6c 65 63 74 43 68 69 6c | 64 72 65 6e 28 29 20 69 |lectChil|dren() i|
|000040b0| 6e 74 6f 20 6f 66 66 73 | 70 72 69 6e 67 0d 70 75 |nto offs|pring.pu|
|000040c0| 74 20 30 20 69 6e 74 6f | 20 73 74 65 70 0d 72 65 |t 0 into| step.re|
|000040d0| 70 65 61 74 20 75 6e 74 | 69 6c 20 66 69 65 6c 64 |peat unt|il field|
|000040e0| 20 22 67 65 6e 65 72 61 | 74 69 6f 6e 22 20 3d 20 | "genera|tion" = |
|000040f0| 74 61 72 67 65 74 47 65 | 6e 0d 61 64 64 20 31 20 |targetGe|n.add 1 |
|00004100| 74 6f 20 73 74 65 70 0d | 70 75 74 20 70 61 72 73 |to step.|put pars|
|00004110| 65 46 72 6f 6d 43 6f 6c | 6f 6e 28 6c 69 6e 65 20 |eFromCol|on(line |
|00004120| 73 74 65 70 20 6f 66 20 | 6f 66 66 73 70 72 69 6e |step of |offsprin|
|00004130| 67 29 20 69 6e 74 6f 20 | 74 68 65 4e 61 6d 65 0d |g) into |theName.|
|00004140| 69 66 20 74 68 65 4e 61 | 6d 65 20 69 73 20 6e 6f |if theNa|me is no|
|00004150| 74 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 67 6f 20 |t empty |then.go |
|00004160| 63 61 72 64 20 74 68 65 | 4e 61 6d 65 0d 70 75 74 |card the|Name.put|
|00004170| 20 63 6f 6c 6c 65 63 74 | 43 68 69 6c 64 72 65 6e | collect|Children|
|00004180| 28 29 20 61 66 74 65 72 | 20 6f 66 66 73 70 72 69 |() after| offspri|
|00004190| 6e 67 0d 65 6c 73 65 0d | 69 66 20 73 74 65 70 20 |ng.else.|if step |
|000041a0| 3c 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |< the nu|mber of |
|000041b0| 6c 69 6e 65 73 20 6f 66 | 20 6f 66 66 73 70 72 69 |lines of| offspri|
|000041c0| 6e 67 20 74 68 65 6e 0d | 6e 65 78 74 20 72 65 70 |ng then.|next rep|
|000041d0| 65 61 74 0d 65 6c 73 65 | 0d 65 78 69 74 20 72 65 |eat.else|.exit re|
|000041e0| 70 65 61 74 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |peat.end| if.end |
|000041f0| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 67 6f |if.end r|epeat.go|
|00004200| 20 63 61 72 64 20 74 68 | 69 73 43 61 72 64 0d 70 | card th|isCard.p|
|00004210| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 70 72 |ut empty| into pr|
|00004220| 65 66 69 78 0d 72 65 70 | 65 61 74 20 77 69 74 68 |efix.rep|eat with|
|00004230| 20 69 20 3d 20 28 74 68 | 65 4e 75 6d 20 2d 20 31 | i = (th|eNum - 1|
|00004240| 29 20 64 6f 77 6e 20 74 | 6f 20 31 0d 70 75 74 20 |) down t|o 1.put |
|00004250| 22 67 2d 22 20 62 65 66 | 6f 72 65 20 70 72 65 66 |"g-" bef|ore pref|
|00004260| 69 78 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 70 75 |ix.end r|epeat.pu|
|00004270| 74 20 22 4f 66 66 73 70 | 72 69 6e 67 20 74 6f 22 |t "Offsp|ring to"|
|00004280| 20 26 20 73 70 61 63 65 | 20 26 20 70 72 65 66 69 | & space| & prefi|
|00004290| 78 20 26 20 22 63 68 69 | 6c 64 72 65 6e 3a 22 20 |x & "chi|ldren:" |
|000042a0| 69 6e 74 6f 20 74 69 74 | 6c 65 0d 70 75 74 20 74 |into tit|le.put t|
|000042b0| 69 74 6c 65 20 26 20 72 | 65 74 75 72 6e 20 62 65 |itle & r|eturn be|
|000042c0| 66 6f 72 65 20 6f 66 66 | 73 70 72 69 6e 67 0d 70 |fore off|spring.p|
|000042d0| 75 74 20 6f 66 66 73 70 | 72 69 6e 67 20 69 6e 74 |ut offsp|ring int|
|000042e0| 6f 20 66 69 65 6c 64 20 | 22 61 6e 63 65 73 74 6f |o field |"ancesto|
|000042f0| 72 73 22 0d 73 65 74 20 | 73 63 72 6f 6c 6c 20 6f |rs".set |scroll o|
|00004300| 66 20 66 69 65 6c 64 20 | 22 61 6e 63 65 73 74 6f |f field |"ancesto|
|00004310| 72 73 22 20 74 6f 20 30 | 0d 73 68 6f 77 20 66 69 |rs" to 0|.show fi|
|00004320| 65 6c 64 20 22 61 6e 63 | 65 73 74 6f 72 73 22 0d |eld "anc|estors".|
|00004330| 73 65 74 20 6c 6f 63 6b | 4d 65 73 73 61 67 65 73 |set lock|Messages|
|00004340| 20 74 6f 20 66 61 6c 73 | 65 0d 65 6e 64 20 69 66 | to fals|e.end if|
|00004350| 0d 65 6e 64 20 6f 66 66 | 53 70 72 69 6e 67 0d 0d |.end off|Spring..|
|00004360| 6f 6e 20 64 6f 41 72 74 | 0d 73 65 74 20 74 68 65 |on doArt|.set the|
|00004370| 20 6e 75 6d 62 65 72 46 | 6f 72 6d 61 74 20 74 6f | numberF|ormat to|
|00004380| 20 22 30 30 30 30 2e 22 | 0d 72 65 70 65 61 74 20 | "0000."|.repeat |
|00004390| 77 69 74 68 20 69 20 3d | 20 37 32 37 20 74 6f 20 |with i =| 727 to |
|000043a0| 37 39 37 0d 67 6f 20 63 | 61 72 64 20 69 0d 69 66 |797.go c|ard i.if|
|000043b0| 20 77 6f 72 64 20 31 20 | 6f 66 20 66 69 65 6c 64 | word 1 |of field|
|000043c0| 20 73 6f 75 72 63 65 20 | 63 6f 6e 74 61 69 6e 73 | source |contains|
|000043d0| 20 22 41 52 54 22 20 74 | 68 65 6e 0d 67 65 74 20 | "ART" t|hen.get |
|000043e0| 77 6f 72 64 20 32 20 6f | 66 20 66 69 65 6c 64 20 |word 2 o|f field |
|000043f0| 73 6f 75 72 63 65 0d 69 | 66 20 69 74 20 69 73 20 |source.i|f it is |
|00004400| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 70 |not empt|y then.p|
|00004410| 75 74 20 74 68 65 20 76 | 61 6c 75 65 20 6f 66 20 |ut the v|alue of |
|00004420| 69 74 20 69 6e 74 6f 20 | 77 6f 72 64 20 32 20 6f |it into |word 2 o|
|00004430| 66 20 66 69 65 6c 64 20 | 73 6f 75 72 63 65 0d 65 |f field |source.e|
|00004440| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00004450| 20 72 65 70 65 61 74 0d | 65 6e 64 20 64 6f 41 72 | repeat.|end doAr|
|00004460| 74 0d 0d 0d 00 65 6e 0d | 70 75 74 20 74 68 65 20 |t....en.|put the |
|00004470| 76 61 6c 75 65 20 6f 66 | 20 69 74 20 69 6e 74 6f |value of| it into|
|00004480| 20 77 6f 72 64 20 32 20 | 6f 66 20 66 69 65 6c 64 | word 2 |of field|
|00004490| 20 73 6f 75 72 63 65 0d | 65 6e 64 20 69 66 0d 65 | source.|end if.e|
|000044a0| 6e 64 20 69 66 0d 65 6e | 64 20 72 65 70 65 61 74 |nd if.en|d repeat|
|000044b0| 0d 65 6e 64 20 64 6f 41 | 72 74 0d 0d 0d 00 6e 0d |.end doA|rt....n.|
|000044c0| 70 75 74 20 69 74 20 69 | 6e 74 6f 20 74 68 65 4e |put it i|nto theN|
|000044d0| 75 6d 0d 67 65 74 20 66 | 69 65 6c 64 20 22 47 65 |um.get f|ield "Ge|
|000044e0| 6e 65 72 61 74 69 6f 6e | 22 0d 70 75 74 20 28 74 |neration|".put (t|
|000044f0| 68 65 4e 75 6d 20 2b 20 | 69 74 29 20 69 6e 74 6f |heNum + |it) into|
|00004500| 20 74 61 72 67 65 74 47 | 65 6e 0d 73 65 74 20 6c | targetG|en.set l|
|00004510| 6f 63 6b 4d 65 73 73 61 | 67 65 73 20 74 6f 20 74 |ockMessa|ges to t|
|00004520| 72 75 65 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |rue.set |cursor t|
|00004530| 6f 20 34 20 2d 2d 20 77 | 61 74 63 68 0d 73 65 74 |o 4 -- w|atch.set|
|00004540| 20 74 68 65 20 6e 75 6d | 62 65 72 46 6f 72 6d 61 | the num|berForma|
|00004550| 74 20 74 6f 20 22 30 30 | 2e 22 0d 73 65 74 20 6c |t to "00|.".set l|
|00004560| 6f 63 6b 53 63 72 65 65 | 6e 20 74 6f 20 74 72 75 |ockScree|n to tru|
|00004570| 65 0d 70 75 74 20 74 68 | 65 20 6e 75 6d 62 65 72 |e.put th|e number|
|00004580| 20 6f 66 20 74 68 69 73 | 20 63 61 72 64 20 69 6e | of this| card in|
|00004590| 74 6f 20 74 68 69 73 43 | 61 72 64 0d 70 75 74 20 |to thisC|ard.put |
|000045a0| 63 6f 6c 6c 65 63 74 43 | 68 69 6c 64 72 65 6e 28 |collectC|hildren(|
|000045b0| 29 20 69 6e 74 6f 20 6f | 66 66 73 70 72 69 6e 67 |) into o|ffspring|
|000045c0| 0d 70 75 74 20 30 20 69 | 6e 74 6f 20 73 74 65 70 |.put 0 i|nto step|
|000045d0| 0d 72 65 70 65 61 74 20 | 75 6e 74 69 6c 20 66 69 |.repeat |until fi|
|000045e0| 65 6c 64 20 22 67 65 6e | 65 72 61 74 69 6f 6e 22 |eld "gen|eration"|
|000045f0| 20 3d 20 74 61 72 67 65 | 74 47 65 6e 0d 61 64 64 | = targe|tGen.add|
|00004600| 20 31 20 74 6f 20 73 74 | 65 70 0d 70 75 74 20 70 | 1 to st|ep.put p|
|00004610| 61 72 73 65 46 72 6f 6d | 43 6f 6c 6f 6e 28 6c 69 |arseFrom|Colon(li|
|00004620| 6e 65 20 73 74 65 70 20 | 6f 66 20 6f 66 66 73 70 |ne step |of offsp|
|00004630| 72 69 6e 67 29 20 69 6e | 74 6f 20 74 68 65 4e 61 |ring) in|to theNa|
|00004640| 6d 65 0d 69 66 20 74 68 | 65 4e 61 6d 65 20 69 73 |me.if th|eName is|
|00004650| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 0d | not emp|ty then.|
|00004660| 67 6f 20 63 61 72 64 20 | 74 68 65 4e 61 6d 65 0d |go card |theName.|
|00004670| 70 75 74 20 63 6f 6c 6c | 65 63 74 43 68 69 6c 64 |put coll|ectChild|
|00004680| 72 65 6e 28 29 20 61 66 | 74 65 72 20 6f 66 66 73 |ren() af|ter offs|
|00004690| 70 72 69 6e 67 0d 65 6c | 73 65 0d 69 66 20 73 74 |pring.el|se.if st|
|000046a0| 65 70 20 3c 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |ep < the| number |
|000046b0| 6f 66 20 6c 69 6e 65 73 | 20 6f 66 20 6f 66 66 73 |of lines| of offs|
|000046c0| 70 72 69 6e 67 20 74 68 | 65 6e 0d 6e 65 78 74 20 |pring th|en.next |
|000046d0| 72 65 70 65 61 74 0d 65 | 6c 73 65 0d 65 78 69 74 |repeat.e|lse.exit|
|000046e0| 20 72 65 70 65 61 74 0d | 65 6e 64 20 69 66 0d 65 | repeat.|end if.e|
|000046f0| 6e 64 20 69 66 0d 65 6e | 64 20 72 65 70 65 61 74 |nd if.en|d repeat|
|00004700| 0d 67 6f 20 63 61 72 64 | 20 74 68 69 73 43 61 72 |.go card| thisCar|
|00004710| 64 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |d.put em|pty into|
|00004720| 20 70 72 65 66 69 78 0d | 72 65 70 65 61 74 20 77 | prefix.|repeat w|
|00004730| 69 74 68 20 69 20 3d 20 | 28 74 68 65 4e 75 6d 20 |ith i = |(theNum |
|00004740| 2d 20 31 29 20 64 6f 77 | 6e 20 74 6f 20 31 0d 70 |- 1) dow|n to 1.p|
|00004750| 75 74 20 22 67 2d 22 20 | 62 65 66 6f 72 65 20 70 |ut "g-" |before p|
|00004760| 72 65 66 69 78 0d 65 6e | 64 20 72 65 70 65 61 74 |refix.en|d repeat|
|00004770| 0d 70 75 74 20 22 4f 66 | 66 73 70 72 69 6e 67 20 |.put "Of|fspring |
|00004780| 74 6f 22 20 26 20 73 70 | 61 63 65 20 26 20 70 72 |to" & sp|ace & pr|
|00004790| 65 66 69 78 20 26 20 22 | 63 68 69 6c 64 72 65 6e |efix & "|children|
|000047a0| 3a 22 20 69 6e 74 6f 20 | 74 69 74 6c 65 0d 70 75 |:" into |title.pu|
|000047b0| 74 20 74 69 74 6c 65 20 | 26 20 72 65 74 75 72 6e |t title |& return|
|000047c0| 20 62 65 66 6f 72 65 20 | 6f 66 66 73 70 72 69 6e | before |offsprin|
|000047d0| 67 0d 70 75 74 20 6f 66 | 66 73 70 72 69 6e 67 20 |g.put of|fspring |
|000047e0| 69 6e 74 6f 20 66 69 65 | 6c 64 20 22 61 6e 63 65 |into fie|ld "ance|
|000047f0| 73 74 6f 72 73 22 0d 73 | 65 74 20 73 63 72 6f 6c |stors".s|et scrol|
|00004800| 6c 20 6f 66 20 66 69 65 | 6c 64 20 22 61 6e 63 65 |l of fie|ld "ance|
|00004810| 73 74 6f 72 73 22 20 74 | 6f 20 30 0d 73 68 6f 77 |stors" t|o 0.show|
|00004820| 20 66 69 65 6c 64 20 22 | 61 6e 63 65 73 74 6f 72 | field "|ancestor|
|00004830| 73 22 0d 73 65 74 20 6c | 6f 63 6b 4d 65 73 73 61 |s".set l|ockMessa|
|00004840| 67 65 73 20 74 6f 20 66 | 61 6c 73 65 0d 65 6e 64 |ges to f|alse.end|
|00004850| 20 69 66 0d 65 6e 64 20 | 6f 66 66 53 70 72 69 6e | if.end |offSprin|
|00004860| 67 0d 0d 6f 6e 20 64 6f | 41 72 74 0d 73 65 74 20 |g..on do|Art.set |
|00004870| 74 68 65 20 6e 75 6d 62 | 65 72 46 6f 72 6d 61 74 |the numb|erFormat|
|00004880| 20 74 6f 20 22 30 30 30 | 30 2e 22 0d 72 65 70 65 | to "000|0.".repe|
|00004890| 61 74 20 77 69 74 68 20 | 69 20 3d 20 37 32 37 20 |at with |i = 727 |
|000048a0| 74 6f 20 37 39 37 0d 67 | 6f 20 63 61 72 64 20 69 |to 797.g|o card i|
|000048b0| 0d 69 66 20 77 6f 72 64 | 20 31 20 6f 66 20 66 69 |.if word| 1 of fi|
|000048c0| 65 6c 64 20 73 6f 75 72 | 63 65 20 63 6f 6e 74 61 |eld sour|ce conta|
|000048d0| 69 6e 73 20 22 41 52 54 | 22 20 74 68 65 6e 0d 67 |ins "ART|" then.g|
|000048e0| 65 74 20 77 6f 72 64 20 | 32 20 6f 66 20 66 69 65 |et word |2 of fie|
|000048f0| 6c 64 20 73 6f 75 72 63 | 65 0d 69 66 20 69 74 20 |ld sourc|e.if it |
|00004900| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00004910| 6e 0d 70 75 74 20 74 68 | 65 20 76 61 6c 75 65 20 |n.put th|e value |
|00004920| 6f 66 20 69 74 20 69 6e | 74 6f 20 77 6f 72 64 20 |of it in|to word |
|00004930| 32 20 6f 66 20 66 69 65 | 6c 64 20 73 6f 75 72 63 |2 of fie|ld sourc|
|00004940| 65 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |e.end if|.end if.|
|00004950| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 64 |end repe|at.end d|
|00004960| 6f 41 72 74 0d 0d 0d 00 | 65 73 74 6f 72 73 22 0d |oArt....|estors".|
|00004970| 73 65 74 20 73 63 72 6f | 6c 6c 20 6f 66 20 66 69 |set scro|ll of fi|
|00004980| 65 6c 64 20 22 61 6e 63 | 65 73 74 6f 72 73 22 20 |eld "anc|estors" |
|00004990| 74 6f 20 30 0d 73 68 6f | 77 20 66 69 65 6c 64 20 |to 0.sho|w field |
|000049a0| 22 61 6e 63 65 73 74 6f | 72 73 22 0d 73 65 74 20 |"ancesto|rs".set |
|000049b0| 6c 6f 63 6b 4d 65 73 73 | 61 67 65 73 20 74 6f 20 |lockMess|ages to |
|000049c0| 66 61 6c 73 65 0d 65 6e | 64 20 69 66 0d 65 6e 64 |false.en|d if.end|
|000049d0| 20 6f 66 66 53 70 72 69 | 6e 67 0d 0d 6f 6e 20 64 | offSpri|ng..on d|
|000049e0| 6f 41 72 74 0d 73 65 74 | 20 74 68 65 20 6e 75 6d |oArt.set| the num|
|000049f0| 62 65 72 46 6f 72 6d 61 | 74 20 74 6f 20 22 30 30 |berForma|t to "00|
|00004a00| 30 30 2e 22 0d 72 65 70 | 65 61 74 20 77 69 74 68 |00.".rep|eat with|
|00004a10| 20 69 20 3d 20 37 32 37 | 20 74 6f 20 37 39 37 0d | i = 727| to 797.|
|00004a20| 67 6f 20 63 61 72 64 20 | 69 0d 69 66 20 77 6f 72 |go card |i.if wor|
|00004a30| 64 20 31 20 6f 66 20 66 | 69 65 6c 64 20 73 6f 75 |d 1 of f|ield sou|
|00004a40| 72 63 65 20 63 6f 6e 74 | 61 69 6e 73 20 22 41 52 |rce cont|ains "AR|
|00004a50| 54 22 20 74 68 65 6e 0d | 67 65 74 20 77 6f 72 64 |T" then.|get word|
|00004a60| 20 32 20 6f 66 20 66 69 | 65 6c 64 20 73 6f 75 72 | 2 of fi|eld sour|
|00004a70| 63 65 0d 69 66 20 69 74 | 20 69 73 20 6e 6f 74 20 |ce.if it| is not |
|00004a80| 65 6d 70 74 79 20 74 68 | 65 6e 0d 70 75 74 20 74 |empty th|en.put t|
|00004a90| 68 65 20 76 61 6c 75 65 | 20 6f 66 20 69 74 20 69 |he value| of it i|
|00004aa0| 6e 74 6f 20 77 6f 72 64 | 20 32 20 6f 66 20 66 69 |nto word| 2 of fi|
|00004ab0| 65 6c 64 20 73 6f 75 72 | 63 65 0d 65 6e 64 20 69 |eld sour|ce.end i|
|00004ac0| 66 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 72 65 70 |f.end if|.end rep|
|00004ad0| 65 61 74 0d 65 6e 64 20 | 64 6f 41 72 74 0d 0d 0d |eat.end |doArt...|
|00004ae0| 00 73 65 74 20 73 63 72 | 6f 6c 6c 20 6f 66 20 66 |.set scr|oll of f|
|00004af0| 69 65 6c 64 20 22 61 6e | 63 65 73 74 6f 72 73 22 |ield "an|cestors"|
|00004b00| 20 74 6f 20 30 0d 73 68 | 6f 77 20 66 69 65 6c 64 | to 0.sh|ow field|
|00004b10| 20 22 61 6e 63 65 73 74 | 6f 72 73 22 0d 73 65 74 | "ancest|ors".set|
|00004b20| 20 6c 6f 63 6b 4d 65 73 | 73 61 67 65 73 20 74 6f | lockMes|sages to|
|00004b30| 20 66 61 6c 73 65 0d 65 | 6e 64 20 69 66 0d 65 6e | false.e|nd if.en|
|00004b40| 64 20 6f 66 66 53 70 72 | 69 6e 67 0d 0d 6f 6e 20 |d offSpr|ing..on |
|00004b50| 64 6f 41 72 74 0d 73 65 | 74 20 74 68 65 20 6e 75 |doArt.se|t the nu|
|00004b60| 6d 62 65 72 46 6f 72 6d | 61 74 20 74 6f 20 22 30 |mberForm|at to "0|
|00004b70| 30 30 30 2e 22 0d 72 65 | 70 65 61 74 20 77 69 74 |000.".re|peat wit|
|00004b80| 68 20 69 20 3d 20 37 32 | 37 20 74 6f 20 37 39 37 |h i = 72|7 to 797|
|00004b90| 0d 67 6f 20 63 61 72 64 | 20 69 0d 69 66 20 77 6f |.go card| i.if wo|
|00004ba0| 72 64 20 31 20 6f 66 20 | 66 69 65 6c 64 20 73 6f |rd 1 of |field so|
|00004bb0| 75 72 63 65 20 63 6f 6e | 74 61 69 6e 73 20 22 41 |urce con|tains "A|
|00004bc0| 52 54 22 20 74 68 65 6e | 0d 67 65 74 20 77 6f 72 |RT" then|.get wor|
|00004bd0| 64 20 32 20 6f 66 20 66 | 69 65 6c 64 20 73 6f 75 |d 2 of f|ield sou|
|00004be0| 72 63 65 0d 69 66 20 69 | 74 20 69 73 20 6e 6f 74 |rce.if i|t is not|
|00004bf0| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 70 75 74 20 | empty t|hen.put |
|00004c00| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 69 74 20 |the valu|e of it |
|00004c10| 69 6e 74 6f 20 77 6f 72 | 64 20 32 20 6f 66 20 66 |into wor|d 2 of f|
|00004c20| 69 65 6c 64 20 73 6f 75 | 72 63 65 0d 65 6e 64 20 |ield sou|rce.end |
|00004c30| 69 66 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 72 65 |if.end i|f.end re|
|00004c40| 70 65 61 74 0d 65 6e 64 | 20 64 6f 41 72 74 0d 0d |peat.end| doArt..|
|00004c50| 0d 00 66 20 63 68 69 6c | 64 72 65 6e 0d 65 6e 64 |..f chil|dren.end|
|00004c60| 20 72 65 70 65 61 74 0d | 72 65 74 75 72 6e 20 63 | repeat.|return c|
|00004c70| 68 69 6c 64 72 65 6e 0d | 65 6e 64 20 63 6f 6c 6c |hildren.|end coll|
|00004c80| 65 63 74 43 68 69 6c 64 | 72 65 6e 0d 0d 2d 2d 20 |ectChild|ren..-- |
|00004c90| 57 4f 52 4b 53 2c 20 42 | 55 54 20 47 49 56 45 53 |WORKS, B|UT GIVES|
|00004ca0| 20 22 54 4f 4f 20 4d 55 | 43 48 20 52 45 43 55 52 | "TOO MU|CH RECUR|
|00004cb0| 53 49 4f 4e 22 20 49 46 | 20 4d 4f 52 45 20 54 48 |SION" IF| MORE TH|
|00004cc0| 41 4e 20 32 20 47 45 4e | 45 52 41 54 49 4f 4e 53 |AN 2 GEN|ERATIONS|
|00004cd0| 0d 2d 2d 66 75 6e 63 74 | 69 6f 6e 20 67 65 74 43 |.--funct|ion getC|
|00004ce0| 68 69 6c 64 72 65 6e 20 | 74 61 72 67 65 74 47 65 |hildren |targetGe|
|00004cf0| 6e 0d 2d 2d 20 20 70 75 | 74 20 63 6f 6c 6c 65 63 |n.-- pu|t collec|
|00004d00| 74 43 68 69 6c 64 72 65 | 6e 28 29 20 61 66 74 65 |tChildre|n() afte|
|00004d10| 72 20 63 68 69 6c 64 72 | 65 6e 0d 2d 2d 20 20 72 |r childr|en.-- r|
|00004d20| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 31 |epeat wi|th i = 1|
|00004d30| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|00004d40| 66 20 6c 69 6e 65 73 20 | 6f 66 20 63 68 69 6c 64 |f lines |of child|
|00004d50| 72 65 6e 0d 2d 2d 20 20 | 20 20 67 6f 20 63 61 72 |ren.-- | go car|
|00004d60| 64 20 70 61 72 73 65 46 | 72 6f 6d 43 6f 6c 6f 6e |d parseF|romColon|
|00004d70| 28 6c 69 6e 65 20 69 20 | 6f 66 20 63 68 69 6c 64 |(line i |of child|
|00004d80| 72 65 6e 29 0d 2d 2d 20 | 20 20 20 70 75 74 20 63 |ren).-- | put c|
|00004d90| 6f 6c 6c 65 63 74 43 68 | 69 6c 64 72 65 6e 28 29 |ollectCh|ildren()|
|00004da0| 20 61 66 74 65 72 20 74 | 65 6d 70 0d 2d 2d 20 20 | after t|emp.-- |
|00004db0| 65 6e 64 20 72 65 70 65 | 61 74 0d 2d 2d 20 20 70 |end repe|at.-- p|
|00004dc0| 75 74 20 74 65 6d 70 20 | 61 66 74 65 72 20 63 68 |ut temp |after ch|
|00004dd0| 69 6c 64 72 65 6e 0d 2d | 2d 20 20 69 66 20 66 69 |ildren.-|- if fi|
|00004de0| 65 6c 64 20 22 67 65 6e | 65 72 61 74 69 6f 6e 22 |eld "gen|eration"|
|00004df0| 20 3c 20 74 61 72 67 65 | 74 47 65 6e 20 74 68 65 | < targe|tGen the|
|00004e00| 6e 0d 2d 2d 20 20 20 20 | 70 75 74 20 67 65 74 43 |n.-- |put getC|
|00004e10| 68 69 6c 64 72 65 6e 28 | 74 61 72 67 65 74 47 65 |hildren(|targetGe|
|00004e20| 6e 29 20 69 6e 74 6f 20 | 63 68 69 6c 64 72 65 6e |n) into |children|
|00004e30| 0d 2d 2d 20 20 65 6c 73 | 65 0d 2d 2d 20 20 20 20 |.-- els|e.-- |
|00004e40| 72 65 74 75 72 6e 20 63 | 68 69 6c 64 72 65 6e 0d |return c|hildren.|
|00004e50| 2d 2d 20 20 65 6e 64 20 | 69 66 0d 2d 2d 65 6e 64 |-- end |if.--end|
|00004e60| 20 67 65 74 43 68 69 6c | 64 72 65 6e 0d 0d 0d 6f | getChil|dren...o|
|00004e70| 6e 20 47 43 0d 73 65 74 | 20 6c 6f 63 6b 4d 65 73 |n GC.set| lockMes|
|00004e80| 73 61 67 65 73 20 74 6f | 20 74 72 75 65 0d 73 65 |sages to| true.se|
|00004e90| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 34 20 2d 2d |t cursor| to 4 --|
|00004ea0| 20 77 61 74 63 68 0d 73 | 65 74 20 74 68 65 20 6e | watch.s|et the n|
|00004eb0| 75 6d 62 65 72 46 6f 72 | 6d 61 74 20 74 6f 20 22 |umberFor|mat to "|
|00004ec0| 30 30 2e 22 0d 73 65 74 | 20 6c 6f 63 6b 53 63 72 |00.".set| lockScr|
|00004ed0| 65 65 6e 20 74 6f 20 74 | 72 75 65 0d 70 75 74 20 |een to t|rue.put |
|00004ee0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 74 68 |the numb|er of th|
|00004ef0| 69 73 20 63 61 72 64 20 | 69 6e 74 6f 20 74 68 69 |is card |into thi|
|00004f00| 73 43 61 72 64 0d 70 75 | 74 20 63 6f 6c 6c 65 63 |sCard.pu|t collec|
|00004f10| 74 43 68 69 6c 64 72 65 | 6e 28 29 20 69 6e 74 6f |tChildre|n() into|
|00004f20| 20 6f 66 66 73 70 72 69 | 6e 67 0d 72 65 70 65 61 | offspri|ng.repea|
|00004f30| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to |
|00004f40| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|00004f50| 6e 65 73 20 6f 66 20 6f | 66 66 73 70 72 69 6e 67 |nes of o|ffspring|
|00004f60| 0d 70 75 74 20 70 61 72 | 73 65 46 72 6f 6d 43 6f |.put par|seFromCo|
|00004f70| 6c 6f 6e 28 6c 69 6e 65 | 20 69 20 6f 66 20 6f 66 |lon(line| i of of|
|00004f80| 66 73 70 72 69 6e 67 29 | 20 69 6e 74 6f 20 74 68 |fspring)| into th|
|00004f90| 65 4e 61 6d 65 0d 69 66 | 20 74 68 65 4e 61 6d 65 |eName.if| theName|
|00004fa0| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00004fb0| 65 6e 0d 67 6f 20 63 61 | 72 64 20 74 68 65 4e 61 |en.go ca|rd theNa|
|00004fc0| 6d 65 0d 70 75 74 20 63 | 6f 6c 6c 65 63 74 43 68 |me.put c|ollectCh|
|00004fd0| 69 6c 64 72 65 6e 28 29 | 20 61 66 74 65 72 20 6f |ildren()| after o|
|00004fe0| 66 66 73 70 72 69 6e 67 | 0d 65 6c 73 65 0d 6e 65 |ffspring|.else.ne|
|00004ff0| 78 74 20 72 65 70 65 61 | 74 0d 65 6e 64 20 69 66 |xt repea|t.end if|
|00005000| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 67 6f 20 63 |.end rep|eat.go c|
|00005010| 61 72 64 20 74 68 69 73 | 43 61 72 64 0d 70 75 74 |ard this|Card.put|
|00005020| 20 22 4f 66 66 73 70 72 | 69 6e 67 20 74 6f 20 67 | "Offspr|ing to g|
|00005030| 72 61 6e 64 63 68 69 6c | 64 72 65 6e 3a 22 20 26 |randchil|dren:" &|
|00005040| 20 72 65 74 75 72 6e 20 | 62 65 66 6f 72 65 20 6f | return |before o|
|00005050| 66 66 73 70 72 69 6e 67 | 0d 70 75 74 20 6f 66 66 |ffspring|.put off|
|00005060| 73 70 72 69 6e 67 20 69 | 6e 74 6f 20 66 69 65 6c |spring i|nto fiel|
|00005070| 64 20 22 61 6e 63 65 73 | 74 6f 72 73 22 0d 73 65 |d "ances|tors".se|
|00005080| 74 20 73 63 72 6f 6c 6c | 20 6f 66 20 66 69 65 6c |t scroll| of fiel|
|00005090| 64 20 22 61 6e 63 65 73 | 74 6f 72 73 22 20 74 6f |d "ances|tors" to|
|000050a0| 20 30 0d 73 68 6f 77 20 | 66 69 65 6c 64 20 22 61 | 0.show |field "a|
|000050b0| 6e 63 65 73 74 6f 72 73 | 22 0d 73 65 74 20 6c 6f |ncestors|".set lo|
|000050c0| 63 6b 4d 65 73 73 61 67 | 65 73 20 74 6f 20 66 61 |ckMessag|es to fa|
|000050d0| 6c 73 65 0d 65 6e 64 20 | 47 43 0d 0d 6f 6e 20 6f |lse.end |GC..on o|
|000050e0| 66 66 53 70 72 69 6e 67 | 0d 61 73 6b 20 22 4e 75 |ffSpring|.ask "Nu|
|000050f0| 6d 62 65 72 20 6f 66 20 | 67 65 6e 65 72 61 74 69 |mber of |generati|
|00005100| 6f 6e 73 3f 22 20 77 69 | 74 68 20 32 0d 69 66 20 |ons?" wi|th 2.if |
|00005110| 69 74 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |it is no|t empty |
|00005120| 74 68 65 6e 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |then.put| it into|
|00005130| 20 74 68 65 4e 75 6d 0d | 67 65 74 20 66 69 65 6c | theNum.|get fiel|
|00005140| 64 20 22 47 65 6e 65 72 | 61 74 69 6f 6e 22 0d 70 |d "Gener|ation".p|
|00005150| 75 74 20 28 74 68 65 4e | 75 6d 20 2b 20 69 74 29 |ut (theN|um + it)|
|00005160| 20 69 6e 74 6f 20 74 61 | 72 67 65 74 47 65 6e 0d | into ta|rgetGen.|
|00005170| 73 65 74 20 6c 6f 63 6b | 4d 65 73 73 61 67 65 73 |set lock|Messages|
|00005180| 20 74 6f 20 74 72 75 65 | 0d 73 65 74 20 63 75 72 | to true|.set cur|
|00005190| 73 6f 72 20 74 6f 20 34 | 20 2d 2d 20 77 61 74 63 |sor to 4| -- watc|
|000051a0| 68 0d 73 65 74 20 74 68 | 65 20 6e 75 6d 62 65 72 |h.set th|e number|
|000051b0| 46 6f 72 6d 61 74 20 74 | 6f 20 22 30 30 2e 22 0d |Format t|o "00.".|
|000051c0| 73 65 74 20 6c 6f 63 6b | 53 63 72 65 65 6e 20 74 |set lock|Screen t|
|000051d0| 6f 20 74 72 75 65 0d 70 | 75 74 20 74 68 65 20 6e |o true.p|ut the n|
|000051e0| 75 6d 62 65 72 20 6f 66 | 20 74 68 69 73 20 63 61 |umber of| this ca|
|000051f0| 72 64 20 69 6e 74 6f 20 | 74 68 69 73 43 61 72 64 |rd into |thisCard|
|00005200| 0d 70 75 74 20 63 6f 6c | 6c 65 63 74 43 68 69 6c |.put col|lectChil|
|00005210| 64 72 65 6e 28 29 20 69 | 6e 74 6f 20 6f 66 66 73 |dren() i|nto offs|
|00005220| 70 72 69 6e 67 0d 70 75 | 74 20 30 20 69 6e 74 6f |pring.pu|t 0 into|
|00005230| 20 73 74 65 70 0d 72 65 | 70 65 61 74 20 75 6e 74 | step.re|peat unt|
|00005240| 69 6c 20 66 69 65 6c 64 | 20 22 67 65 6e 65 72 61 |il field| "genera|
|00005250| 74 69 6f 6e 22 20 3d 20 | 74 61 72 67 65 74 47 65 |tion" = |targetGe|
|00005260| 6e 0d 61 64 64 20 31 20 | 74 6f 20 73 74 65 70 0d |n.add 1 |to step.|
|00005270| 70 75 74 20 70 61 72 73 | 65 46 72 6f 6d 43 6f 6c |put pars|eFromCol|
|00005280| 6f 6e 28 6c 69 6e 65 20 | 73 74 65 70 20 6f 66 20 |on(line |step of |
|00005290| 6f 66 66 73 70 72 69 6e | 67 29 20 69 6e 74 6f 20 |offsprin|g) into |
|000052a0| 74 68 65 4e 61 6d 65 0d | 69 66 20 74 68 65 4e 61 |theName.|if theNa|
|000052b0| 6d 65 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |me is no|t empty |
|000052c0| 74 68 65 6e 0d 67 6f 20 | 63 61 72 64 20 74 68 65 |then.go |card the|
|000052d0| 4e 61 6d 65 0d 70 75 74 | 20 63 6f 6c 6c 65 63 74 |Name.put| collect|
|000052e0| 43 68 69 6c 64 72 65 6e | 28 29 20 61 66 74 65 72 |Children|() after|
|000052f0| 20 6f 66 66 73 70 72 69 | 6e 67 0d 65 6c 73 65 0d | offspri|ng.else.|
|00005300| 69 66 20 73 74 65 70 20 | 3c 20 74 68 65 20 6e 75 |if step |< the nu|
|00005310| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 6f 66 |mber of |lines of|
|00005320| 20 6f 66 66 73 70 72 69 | 6e 67 20 74 68 65 6e 0d | offspri|ng then.|
|00005330| 6e 65 78 74 20 72 65 70 | 65 61 74 0d 65 6c 73 65 |next rep|eat.else|
|00005340| 0d 65 78 69 74 20 72 65 | 70 65 61 74 0d 65 6e 64 |.exit re|peat.end|
|00005350| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 | if.end |if.end r|
|00005360| 65 70 65 61 74 0d 67 6f | 20 63 61 72 64 20 74 68 |epeat.go| card th|
|00005370| 69 73 43 61 72 64 0d 70 | 75 74 20 65 6d 70 74 79 |isCard.p|ut empty|
|00005380| 20 69 6e 74 6f 20 70 72 | 65 66 69 78 0d 72 65 70 | into pr|efix.rep|
|00005390| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 28 74 68 |eat with| i = (th|
|000053a0| 65 4e 75 6d 20 2d 20 31 | 29 20 64 6f 77 6e 20 74 |eNum - 1|) down t|
|000053b0| 6f 20 31 0d 70 75 74 20 | 22 67 2d 22 20 62 65 66 |o 1.put |"g-" bef|
|000053c0| 6f 72 65 20 70 72 65 66 | 69 78 0d 65 6e 64 20 72 |ore pref|ix.end r|
|000053d0| 65 70 65 61 74 0d 70 75 | 74 20 22 4f 66 66 73 70 |epeat.pu|t "Offsp|
|000053e0| 72 69 6e 67 20 74 6f 22 | 20 26 20 73 70 61 63 65 |ring to"| & space|
|000053f0| 20 26 20 70 72 65 66 69 | 78 20 26 20 22 63 68 69 | & prefi|x & "chi|
|00005400| 6c 64 72 65 6e 3a 22 20 | 69 6e 74 6f 20 74 69 74 |ldren:" |into tit|
|00005410| 6c 65 0d 70 75 74 20 74 | 69 74 6c 65 20 26 20 72 |le.put t|itle & r|
|00005420| 65 74 75 72 6e 20 62 65 | 66 6f 72 65 20 6f 66 66 |eturn be|fore off|
|00005430| 73 70 72 69 6e 67 0d 70 | 75 74 20 6f 66 66 73 70 |spring.p|ut offsp|
|00005440| 72 69 6e 67 20 69 6e 74 | 6f 20 66 69 65 6c 64 20 |ring int|o field |
|00005450| 22 61 6e 63 65 73 74 6f | 72 73 22 0d 73 65 74 20 |"ancesto|rs".set |
|00005460| 73 63 72 6f 6c 6c 20 6f | 66 20 66 69 65 6c 64 20 |scroll o|f field |
|00005470| 22 61 6e 63 65 73 74 6f | 72 73 22 20 74 6f 20 30 |"ancesto|rs" to 0|
|00005480| 0d 73 68 6f 77 20 66 69 | 65 6c 64 20 22 61 6e 63 |.show fi|eld "anc|
|00005490| 65 73 74 6f 72 73 22 0d | 73 65 74 20 6c 6f 63 6b |estors".|set lock|
|000054a0| 4d 65 73 73 61 67 65 73 | 20 74 6f 20 66 61 6c 73 |Messages| to fals|
|000054b0| 65 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 6f 66 66 |e.end if|.end off|
|000054c0| 53 70 72 69 6e 67 0d 0d | 6f 6e 20 64 6f 41 72 74 |Spring..|on doArt|
|000054d0| 0d 73 65 74 20 74 68 65 | 20 6e 75 6d 62 65 72 46 |.set the| numberF|
|000054e0| 6f 72 6d 61 74 20 74 6f | 20 22 30 30 30 30 2e 22 |ormat to| "0000."|
|000054f0| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|00005500| 20 37 32 37 20 74 6f 20 | 37 39 37 0d 67 6f 20 63 | 727 to |797.go c|
|00005510| 61 72 64 20 69 0d 69 66 | 20 77 6f 72 64 20 31 20 |ard i.if| word 1 |
|00005520| 6f 66 20 66 69 65 6c 64 | 20 73 6f 75 72 63 65 20 |of field| source |
|00005530| 63 6f 6e 74 61 69 6e 73 | 20 22 41 52 54 22 20 74 |contains| "ART" t|
|00005540| 68 65 6e 0d 67 65 74 20 | 77 6f 72 64 20 32 20 6f |hen.get |word 2 o|
|00005550| 66 20 66 69 65 6c 64 20 | 73 6f 75 72 63 65 0d 69 |f field |source.i|
|00005560| 66 20 69 74 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |f it is |not empt|
|00005570| 79 20 74 68 65 6e 0d 70 | 75 74 20 74 68 65 20 76 |y then.p|ut the v|
|00005580| 61 6c 75 65 20 6f 66 20 | 69 74 20 69 6e 74 6f 20 |alue of |it into |
|00005590| 77 6f 72 64 20 32 20 6f | 66 20 66 69 65 6c 64 20 |word 2 o|f field |
|000055a0| 73 6f 75 72 63 65 0d 65 | 6e 64 20 69 66 0d 65 6e |source.e|nd if.en|
|000055b0| 64 20 69 66 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |d if.end| repeat.|
|000055c0| 65 6e 64 20 64 6f 41 72 | 74 0d 0d 0d 00 73 20 6e |end doAr|t....s n|
|000055d0| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 67 6f |ot empty| then.go|
|000055e0| 20 63 61 72 64 20 74 68 | 65 4e 61 6d 65 0d 70 75 | card th|eName.pu|
|000055f0| 74 20 63 6f 6c 6c 65 63 | 74 43 68 69 6c 64 72 65 |t collec|tChildre|
|00005600| 6e 28 29 20 61 66 74 65 | 72 20 6f 66 66 73 70 72 |n() afte|r offspr|
|00005610| 69 6e 67 0d 65 6c 73 65 | 0d 6e 65 78 74 20 72 65 |ing.else|.next re|
|00005620| 70 65 61 74 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |peat.end| if.end |
|00005630| 72 65 70 65 61 74 0d 67 | 6f 20 63 61 72 64 20 74 |repeat.g|o card t|
|00005640| 68 69 73 43 61 72 64 0d | 70 75 74 20 22 4f 66 66 |hisCard.|put "Off|
|00005650| 73 70 72 69 6e 67 20 74 | 6f 20 67 72 61 6e 64 63 |spring t|o grandc|
|00005660| 68 69 6c 64 72 65 6e 3a | 22 20 26 20 72 65 74 75 |hildren:|" & retu|
|00005670| 72 6e 20 62 65 66 6f 72 | 65 20 6f 66 66 73 70 72 |rn befor|e offspr|
|00005680| 69 6e 67 0d 70 75 74 20 | 6f 66 66 73 70 72 69 6e |ing.put |offsprin|
|00005690| 67 20 69 6e 74 6f 20 66 | 69 65 6c 64 20 22 61 6e |g into f|ield "an|
|000056a0| 63 65 73 74 6f 72 73 22 | 0d 73 65 74 20 73 63 72 |cestors"|.set scr|
|000056b0| 6f 6c 6c 20 6f 66 20 66 | 69 65 6c 64 20 22 61 6e |oll of f|ield "an|
|000056c0| 63 65 73 74 6f 72 73 22 | 20 74 6f 20 30 0d 73 68 |cestors"| to 0.sh|
|000056d0| 6f 77 20 66 69 65 6c 64 | 20 22 61 6e 63 65 73 74 |ow field| "ancest|
|000056e0| 6f 72 73 22 0d 73 65 74 | 20 6c 6f 63 6b 4d 65 73 |ors".set| lockMes|
|000056f0| 73 61 67 65 73 20 74 6f | 20 66 61 6c 73 65 0d 65 |sages to| false.e|
|00005700| 6e 64 20 47 43 0d 0d 6f | 6e 20 6f 66 66 53 70 72 |nd GC..o|n offSpr|
|00005710| 69 6e 67 0d 61 73 6b 20 | 22 4e 75 6d 62 65 72 20 |ing.ask |"Number |
|00005720| 6f 66 20 67 65 6e 65 72 | 61 74 69 6f 6e 73 3f 22 |of gener|ations?"|
|00005730| 20 77 69 74 68 20 32 0d | 69 66 20 69 74 20 69 73 | with 2.|if it is|
|00005740| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 0d | not emp|ty then.|
|00005750| 70 75 74 20 69 74 20 69 | 6e 74 6f 20 74 68 65 4e |put it i|nto theN|
|00005760| 75 6d 0d 67 65 74 20 66 | 69 65 6c 64 20 22 47 65 |um.get f|ield "Ge|
|00005770| 6e 65 72 61 74 69 6f 6e | 22 0d 70 75 74 20 28 74 |neration|".put (t|
|00005780| 68 65 4e 75 6d 20 2b 20 | 69 74 29 20 69 6e 74 6f |heNum + |it) into|
|00005790| 20 74 61 72 67 65 74 47 | 65 6e 0d 73 65 74 20 6c | targetG|en.set l|
|000057a0| 6f 63 6b 4d 65 73 73 61 | 67 65 73 20 74 6f 20 74 |ockMessa|ges to t|
|000057b0| 72 75 65 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |rue.set |cursor t|
|000057c0| 6f 20 34 20 2d 2d 20 77 | 61 74 63 68 0d 73 65 74 |o 4 -- w|atch.set|
|000057d0| 20 74 68 65 20 6e 75 6d | 62 65 72 46 6f 72 6d 61 | the num|berForma|
|000057e0| 74 20 74 6f 20 22 30 30 | 2e 22 0d 73 65 74 20 6c |t to "00|.".set l|
|000057f0| 6f 63 6b 53 63 72 65 65 | 6e 20 74 6f 20 74 72 75 |ockScree|n to tru|
|00005800| 65 0d 70 75 74 20 74 68 | 65 20 6e 75 6d 62 65 72 |e.put th|e number|
|00005810| 20 6f 66 20 74 68 69 73 | 20 63 61 72 64 20 69 6e | of this| card in|
|00005820| 74 6f 20 74 68 69 73 43 | 61 72 64 0d 70 75 74 20 |to thisC|ard.put |
|00005830| 63 6f 6c 6c 65 63 74 43 | 68 69 6c 64 72 65 6e 28 |collectC|hildren(|
|00005840| 29 20 69 6e 74 6f 20 6f | 66 66 73 70 72 69 6e 67 |) into o|ffspring|
|00005850| 0d 70 75 74 20 30 20 69 | 6e 74 6f 20 73 74 65 70 |.put 0 i|nto step|
|00005860| 0d 72 65 70 65 61 74 20 | 75 6e 74 69 6c 20 66 69 |.repeat |until fi|
|00005870| 65 6c 64 20 22 67 65 6e | 65 72 61 74 69 6f 6e 22 |eld "gen|eration"|
|00005880| 20 3d 20 74 61 72 67 65 | 74 47 65 6e 0d 61 64 64 | = targe|tGen.add|
|00005890| 20 31 20 74 6f 20 73 74 | 65 70 0d 70 75 74 20 70 | 1 to st|ep.put p|
|000058a0| 61 72 73 65 46 72 6f 6d | 43 6f 6c 6f 6e 28 6c 69 |arseFrom|Colon(li|
|000058b0| 6e 65 20 73 74 65 70 20 | 6f 66 20 6f 66 66 73 70 |ne step |of offsp|
|000058c0| 72 69 6e 67 29 20 69 6e | 74 6f 20 74 68 65 4e 61 |ring) in|to theNa|
|000058d0| 6d 65 0d 69 66 20 74 68 | 65 4e 61 6d 65 20 69 73 |me.if th|eName is|
|000058e0| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 0d | not emp|ty then.|
|000058f0| 67 6f 20 63 61 72 64 20 | 74 68 65 4e 61 6d 65 0d |go card |theName.|
|00005900| 70 75 74 20 63 6f 6c 6c | 65 63 74 43 68 69 6c 64 |put coll|ectChild|
|00005910| 72 65 6e 28 29 20 61 66 | 74 65 72 20 6f 66 66 73 |ren() af|ter offs|
|00005920| 70 72 69 6e 67 0d 65 6c | 73 65 0d 69 66 20 73 74 |pring.el|se.if st|
|00005930| 65 70 20 3c 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |ep < the| number |
|00005940| 6f 66 20 6c 69 6e 65 73 | 20 6f 66 20 6f 66 66 73 |of lines| of offs|
|00005950| 70 72 69 6e 67 20 74 68 | 65 6e 0d 6e 65 78 74 20 |pring th|en.next |
|00005960| 72 65 70 65 61 74 0d 65 | 6c 73 65 0d 65 78 69 74 |repeat.e|lse.exit|
|00005970| 20 72 65 70 65 61 74 0d | 65 6e 64 20 69 66 0d 65 | repeat.|end if.e|
|00005980| 6e 64 20 69 66 0d 65 6e | 64 20 72 65 70 65 61 74 |nd if.en|d repeat|
|00005990| 0d 67 6f 20 63 61 72 64 | 20 74 68 69 73 43 61 72 |.go card| thisCar|
|000059a0| 64 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |d.put em|pty into|
|000059b0| 20 70 72 65 66 69 78 0d | 72 65 70 65 61 74 20 77 | prefix.|repeat w|
|000059c0| 69 74 68 20 69 20 3d 20 | 28 74 68 65 4e 75 6d 20 |ith i = |(theNum |
|000059d0| 2d 20 31 29 20 64 6f 77 | 6e 20 74 6f 20 31 0d 70 |- 1) dow|n to 1.p|
|000059e0| 75 74 20 22 67 2d 22 20 | 62 65 66 6f 72 65 20 70 |ut "g-" |before p|
|000059f0| 72 65 66 69 78 0d 65 6e | 64 20 72 65 70 65 61 74 |refix.en|d repeat|
|00005a00| 0d 70 75 74 20 22 4f 66 | 66 73 70 72 69 6e 67 20 |.put "Of|fspring |
|00005a10| 74 6f 22 20 26 20 73 70 | 61 63 65 20 26 20 70 72 |to" & sp|ace & pr|
|00005a20| 65 66 69 78 20 26 20 22 | 63 68 69 6c 64 72 65 6e |efix & "|children|
|00005a30| 3a 22 20 69 6e 74 6f 20 | 74 69 74 6c 65 0d 70 75 |:" into |title.pu|
|00005a40| 74 20 74 69 74 6c 65 20 | 26 20 72 65 74 75 72 6e |t title |& return|
|00005a50| 20 62 65 66 6f 72 65 20 | 6f 66 66 73 70 72 69 6e | before |offsprin|
|00005a60| 67 0d 70 75 74 20 6f 66 | 66 73 70 72 69 6e 67 20 |g.put of|fspring |
|00005a70| 69 6e 74 6f 20 66 69 65 | 6c 64 20 22 61 6e 63 65 |into fie|ld "ance|
|00005a80| 73 74 6f 72 73 22 0d 73 | 65 74 20 73 63 72 6f 6c |stors".s|et scrol|
|00005a90| 6c 20 6f 66 20 66 69 65 | 6c 64 20 22 61 6e 63 65 |l of fie|ld "ance|
|00005aa0| 73 74 6f 72 73 22 20 74 | 6f 20 30 0d 73 68 6f 77 |stors" t|o 0.show|
|00005ab0| 20 66 69 65 6c 64 20 22 | 61 6e 63 65 73 74 6f 72 | field "|ancestor|
|00005ac0| 73 22 0d 73 65 74 20 6c | 6f 63 6b 4d 65 73 73 61 |s".set l|ockMessa|
|00005ad0| 67 65 73 20 74 6f 20 66 | 61 6c 73 65 0d 65 6e 64 |ges to f|alse.end|
|00005ae0| 20 69 66 0d 65 6e 64 20 | 6f 66 66 53 70 72 69 6e | if.end |offSprin|
|00005af0| 67 0d 0d 6f 6e 20 64 6f | 41 72 74 0d 73 65 74 20 |g..on do|Art.set |
|00005b00| 74 68 65 20 6e 75 6d 62 | 65 72 46 6f 72 6d 61 74 |the numb|erFormat|
|00005b10| 20 74 6f 20 22 30 30 30 | 30 2e 22 0d 72 65 70 65 | to "000|0.".repe|
|00005b20| 61 74 20 77 69 74 68 20 | 69 20 3d 20 37 32 37 20 |at with |i = 727 |
|00005b30| 74 6f 20 37 39 37 0d 67 | 6f 20 63 61 72 64 20 69 |to 797.g|o card i|
|00005b40| 0d 69 66 20 77 6f 72 64 | 20 31 20 6f 66 20 66 69 |.if word| 1 of fi|
|00005b50| 65 6c 64 20 73 6f 75 72 | 63 65 20 63 6f 6e 74 61 |eld sour|ce conta|
|00005b60| 69 6e 73 20 22 41 52 54 | 22 20 74 68 65 6e 0d 67 |ins "ART|" then.g|
|00005b70| 65 74 20 77 6f 72 64 20 | 32 20 6f 66 20 66 69 65 |et word |2 of fie|
|00005b80| 6c 64 20 73 6f 75 72 63 | 65 0d 69 66 20 69 74 20 |ld sourc|e.if it |
|00005b90| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00005ba0| 6e 0d 70 75 74 20 74 68 | 65 20 76 61 6c 75 65 20 |n.put th|e value |
|00005bb0| 6f 66 20 69 74 20 69 6e | 74 6f 20 77 6f 72 64 20 |of it in|to word |
|00005bc0| 32 20 6f 66 20 66 69 65 | 6c 64 20 73 6f 75 72 63 |2 of fie|ld sourc|
|00005bd0| 65 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |e.end if|.end if.|
|00005be0| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 64 |end repe|at.end d|
|00005bf0| 6f 41 72 74 0d 0d 0d 00 | 20 74 6f 20 30 0d 73 68 |oArt....| to 0.sh|
|00005c00| 6f 77 20 66 69 65 6c 64 | 20 22 61 6e 63 65 73 74 |ow field| "ancest|
|00005c10| 6f 72 73 22 0d 73 65 74 | 20 6c 6f 63 6b 4d 65 73 |ors".set| lockMes|
|00005c20| 73 61 67 65 73 20 74 6f | 20 66 61 6c 73 65 0d 65 |sages to| false.e|
|00005c30| 6e 64 20 69 66 0d 65 6e | 64 20 6f 66 66 53 70 72 |nd if.en|d offSpr|
|00005c40| 69 6e 67 0d 0d 6f 6e 20 | 64 6f 41 72 74 0d 73 65 |ing..on |doArt.se|
|00005c50| 74 20 74 68 65 20 6e 75 | 6d 62 65 72 46 6f 72 6d |t the nu|mberForm|
|00005c60| 61 74 20 74 6f 20 22 30 | 30 30 30 2e 22 0d 72 65 |at to "0|000.".re|
|00005c70| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 37 32 |peat wit|h i = 72|
|00005c80| 37 20 74 6f 20 37 39 37 | 0d 67 6f 20 63 61 72 64 |7 to 797|.go card|
|00005c90| 20 69 0d 69 66 20 77 6f | 72 64 20 31 20 6f 66 20 | i.if wo|rd 1 of |
|00005ca0| 66 69 65 6c 64 20 73 6f | 75 72 63 65 20 63 6f 6e |field so|urce con|
|00005cb0| 74 61 69 6e 73 20 22 41 | 52 54 22 20 74 68 65 6e |tains "A|RT" then|
|00005cc0| 0d 67 65 74 20 77 6f 72 | 64 20 32 20 6f 66 20 66 |.get wor|d 2 of f|
|00005cd0| 69 65 6c 64 20 73 6f 75 | 72 63 65 0d 69 66 20 69 |ield sou|rce.if i|
|00005ce0| 74 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |t is not| empty t|
|00005cf0| 68 65 6e 0d 70 75 74 20 | 74 68 65 20 76 61 6c 75 |hen.put |the valu|
|00005d00| 65 20 6f 66 20 69 74 20 | 69 6e 74 6f 20 77 6f 72 |e of it |into wor|
|00005d10| 64 20 32 20 6f 66 20 66 | 69 65 6c 64 20 73 6f 75 |d 2 of f|ield sou|
|00005d20| 72 63 65 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |rce.end |if.end i|
|00005d30| 66 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 65 6e 64 |f.end re|peat.end|
|00005d40| 20 64 6f 41 72 74 0d 0d | 0d 00 00 00 00 00 00 00 | doArt..|........|
|00005d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e80| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00005e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ea0| 00 09 2d c3 00 00 00 00 | 00 03 44 73 00 06 44 69 |..-.....|..Ds..Di|
|00005eb0| 00 00 00 00 00 09 93 ee | 00 09 4d 4f 00 09 55 40 |........|..MO..U@|
|00005ec0| 00 06 37 d2 00 09 74 35 | 00 08 92 cb 00 08 b1 38 |..7...t5|.......8|
|00005ed0| 00 08 d0 43 00 08 ef b6 | 00 03 00 25 00 09 0e 12 |...C....|...%....|
|00005ee0| 00 08 8d 2e 00 08 6f ee | 00 08 51 c8 00 08 2e 96 |......o.|..Q.....|
|00005ef0| 00 08 33 d9 00 03 04 37 | 00 00 00 00 00 00 00 00 |..3....7|........|
|00005f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006080| 00 00 00 80 4c 49 53 54 | 00 00 16 25 00 00 00 01 |....LIST|...%....|
|00006090| 00 00 08 00 00 00 00 0f | 00 18 00 01 00 05 00 04 |........|........|
|000060a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060b0| 00 00 1d 37 00 0f 00 00 | 00 00 00 00 00 00 00 00 |...7....|........|
|000060c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006100| 00 00 08 00 50 41 47 45 | 00 00 1d 37 00 00 16 25 |....PAGE|...7...%|
|00006110| 00 00 00 00 00 00 00 00 | 00 00 0b 69 80 7f ff ff |........|...i....|
|00006120| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00006130| 00 00 1b 96 80 00 30 00 | 21 00 60 04 20 00 10 08 |......0.|!.`. ...|
|00006140| 00 04 02 00 40 01 00 c0 | 00 00 1c d9 80 29 3e 26 |....@...|.....)>&|
|00006150| a1 00 78 44 24 00 14 89 | 80 14 02 00 40 03 00 c0 |..xD$...|....@...|
|00006160| 00 00 1a c8 80 29 3e 26 | a1 00 78 44 24 00 14 89 |.....)>&|..xD$...|
|00006170| 80 14 02 00 40 03 00 c0 | 00 00 19 ee 80 29 3e 26 |....@...|.....)>&|
|00006180| a1 00 78 44 24 00 14 89 | 80 14 02 00 40 03 00 c0 |..xD$...|....@...|
|00006190| 00 00 18 2e 80 00 00 02 | 21 00 08 04 20 00 10 08 |........|!... ...|
|000061a0| 80 14 02 00 40 01 00 c0 | 00 00 12 cb 80 29 3e 26 |....@...|.....)>&|
|000061b0| a1 00 78 44 24 00 14 89 | 80 14 02 00 40 03 00 c0 |..xD$...|....@...|
|000061c0| 00 00 13 38 80 29 3e 26 | a1 00 78 44 24 00 14 89 |...8.)>&|..xD$...|
|000061d0| 80 14 02 00 40 03 00 c0 | 00 00 14 43 80 29 3e 26 |....@...|...C.)>&|
|000061e0| a1 00 78 44 24 00 14 89 | 80 14 02 00 40 03 00 c0 |..xD$...|....@...|
|000061f0| 00 00 15 b6 80 29 3e 26 | a1 00 78 44 24 00 14 89 |.....)>&|..xD$...|
|00006200| 80 14 02 00 40 03 00 c0 | 00 00 17 12 80 29 3e 26 |....@...|.....)>&|
|00006210| a1 00 78 44 24 00 14 89 | 80 14 02 00 40 03 00 c0 |..xD$...|....@...|
|00006220| 00 00 08 c3 80 29 3e 26 | a1 80 78 44 24 80 15 89 |.....)>&|..xD$...|
|00006230| 80 14 06 00 44 23 00 e0 | 00 00 0e 4f 80 28 36 24 |....D#..|...O.(6$|
|00006240| 21 80 78 44 24 80 15 89 | 00 04 06 00 44 23 00 e0 |!.xD$...|....D#..|
|00006250| 00 00 0f 40 80 29 3e 26 | a1 80 78 44 24 80 15 89 |...@.)>&|..xD$...|
|00006260| 80 14 06 00 44 23 00 e0 | 00 00 11 35 80 29 3e 26 |....D#..|...5.)>&|
|00006270| a1 80 78 44 24 80 15 89 | 80 14 06 00 44 23 00 e0 |..xD$...|....D#..|
|00006280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.